{"_id":"@microsoft/bf-qnamaker","_rev":"301-3c4a419a124967894da589fafdc6e31a","name":"@microsoft/bf-qnamaker","dist-tags":{"latest":"4.15.0","rc":"4.15.0","next":"4.16.0-dev.20231122.4561d55"},"versions":{"0.0.0":{"name":"@microsoft/bf-qnamaker","version":"0.0.0","_id":"@microsoft/bf-qnamaker@0.0.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"dist":{"shasum":"9eb78486230a60a727c54cda591d87c5956f8729","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-0.0.0.tgz","fileCount":1,"integrity":"sha512-HBRSYNjXtTRj/vqddq74s1QfeC1z+ypf6czJxGjyEPF7XOI/Ohamy5UZ3oRjWMaOsAId3SpjtC+xTC7NiTKOSA==","signatures":[{"sig":"MEUCIQCKWDODLvjbuCoL9c79jIsgCkz+97IAbkbv5Vaw6vlrFwIgGMaDZqji9H3RgqvW4TYwSn5HW+Sc+MAqi7iSJ2qBUco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVKEECRA9TVsSAnZWagAATdMP/3n+Y/9QcEquqHOga0r7\n6JHabZfikrP+u9pHaj7I1qMw2fsAJhYAv3MsZyQHGTkbdr7ja4vjnzgCdd+4\nubOsFDE2HcDsJrdfUFm9fGS+Xz6hoLkdzpG5WYlb8pdUZ+sXSC6H0oOKQ0AJ\nyfQ7eGW9SOVcalZxQmNscif4z0vDgms/VWbsch4/OETc6Kbiu2+KpZOfI/UX\nzWBMmB+rnmLch+0+Th5PVeY6LLVJqnRtrrjQjvOnt5d1kU8CnX+mxfPRBjcy\nzt4yJ31HrA2wLuyEyCyAYVy1mIezeo/dOn8pgYMVuijT/Tvlde+7ZO/o5JNl\n9z+XIuEQ3r1+8va7umhgfLDBg5OnqWTqTqzO8EDhG9dcaHP1KrMVX6vn9dAr\nQ4CYI2z/SNF86JvJa7gI0DioR5FSjpDhBmcMsMOEn7+O/x2xMZOovhGt6MOA\n9ASIGXdQmzJbkJw8Zp4LlAN2neCKHKQ6PVyr3mCUjc1zr2X0k72YejafFdB6\nFy0jJl2RAPtunXPjX/TIrHhASZhqHkB54zlxuzD/VeOcqY9p9rcFD4vsKDts\nlJ/0NrlotkqM/KkMEpb0zf/t1vfvLB/SasxJTkdnirJtN/o42W/517GnWJiI\nkoDqz9hwamP/FT8h/i+4o68QrPDQh4o+PD5064WEei8grgD7+gQ8E1FlBMJz\nSnqo\r\n=fcd5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"_npmVersion":"6.10.2","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_0.0.0_1565827332279_0.539996791226182","host":"s3://npm-registry-packages"}},"4.5.3":{"name":"@microsoft/bf-qnamaker","version":"4.5.3","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.5.3","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1c484a7bacddbd6c29d8a8d2db2a938c17367ceb","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.5.3.tgz","fileCount":86,"integrity":"sha512-5VB/+IVFHvhPIhtVpA0h7wbNrbbnCA5GV5aRTsEZUOD2Q3HhCeifwL6SUYZ1XZdN+mzeb3xCN7huNmz6lEXnFQ==","signatures":[{"sig":"MEQCIEXJ0T7iHJTtATbd4fK5KL0kWafGKoT2yWzD57SSL7RXAiBv8fE2V4PEqQIZYUIEpX1IQU+4fVzFsmxHsHnE57Do7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVtSCCRA9TVsSAnZWagAAjdsP/iMSQC2BEENRvfK7ZJoH\ngXB1Ho+nhA/tdN/g9nu+LsEQX7cs+BtC+4scBXAfRDjqi87BeiqsmSn4TpN8\nrkucM0VvFoG559csy7EfsS9SdmxhyNTH5TPpHLe5hiFNEnnJkYUqmndC+lpV\n4KhARqr13yRTuAeU/A1T4senDRvi/fKPMdbIRZFvq8ywvCGPcHfEtn/WlTTS\nV89VpUCfkmqBSWF1jG1neevVzPoWxFgAn6P/UviI43E2dyGitT6rM/K8irXh\na4nioYJLh5yhZ9O20JPAj4h0WjN0WN1RlvXIjobJIPUWRgxi98+a9qoRPlUF\nGgkHo9uuSm1LIAfzJwFdDcX4BSmvJgzUbLJ365Z9f3kfG7PDyd9nBGWumS8D\nL6e/1Va+gNGtlPE1racHhYpvYSs1G6ouf3nBCzRhGOYzyivuHbIIsQlworDZ\n3aQEwjX4zbAEamaEWJZK5z/MChS0sdZyHewV2pMYhzsjtTvy/2tVfaKWmEDH\n8ZDxPfFfD+ZRuMovy043rd8iMn4vB71twr4Npm0AaoCP0oBQbYAB0hfFR09+\nlQSWXPFqJ+baTdnWXXe/JE3HAyVcng7DnuJ4pedac7FWrof7s3lBwUSR2Jcp\nv8WkzrD5bw/2lnQQqPjGpISLaMsCZObvbDGUwjs5RFjvhu3PaGYTX8L/NFOI\nmT3W\r\n=Rfl2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"utils/api/index.js","_from":"file:D:/a/r1/a/_Botframework-CLI-daily/drop/microsoft-bf-qnamaker-4.5.3.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","prepack":"rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git","type":"git"},"_npmVersion":"6.10.3","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"10.16.1","dependencies":{"md5":"^2.2.1","hoek":"^5.0.3","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"^1.13.2","readline-sync":"^1.4.9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"~4.5.3"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.3.0","chai":"^4.2.0","nock":"^10.0.6","mocha":"^5.2.0","globby":"^10.0.1","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.5.3_1565971583231_0.22798662574160455","host":"s3://npm-registry-packages"}},"4.5.4":{"name":"@microsoft/bf-qnamaker","version":"4.5.4","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.5.4","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f749ce280009cd324520c263504e12ce57a15723","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.5.4.tgz","fileCount":86,"integrity":"sha512-0yEIOyGQxWhNY5NjEyNvOlIcr+dIAClQuEUkg/vLtPYIpQ2wNlNE2cSkkvRVk4mXqNsZ2T/0Sj8PUJFtMk++0A==","signatures":[{"sig":"MEQCIC6xBju58cQk8ZNMBUHvoVoriyiMl4lm1UwpcFHAUlfjAiBji5Q9PNJOsHRKGPKTovhKMcIjDLgGzHNA+nNr1YFSCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVwqYCRA9TVsSAnZWagAAN3cP/1IB4/C/x1Yl10M7Heqv\n59w5y0qeue7lVXApOaR4Ch3cwnNezCukLl3xkpSNS94IosYHsLY4eu856RrT\nbeKSg1P9Sq3KD7V2MA8jjIXgPzmKD0vFn9LDsp1s8XdfYDiXoVN2OYMJbxbZ\nM0K9aNJjbjfUY7TaWz+gl6T8mga1BETC8dKL6Zq5h6gdbmPurTrhaQIUxevB\nHtDIA7NfuH1IshGHSBzEONudvrPOfMWy+zK7zHMUaFU5bYZsEsBjaIuISv+N\nZhVbf3hWXFWzOZxff/+nqSR1KOlmGWqJbtMWJMoCyCbi6XxbgSrm0b7ZjTPY\nvzFCQ5lA6d0/R5dMKz/RSsnYdXRKmptIUxmnWfhQRQXVkbANTBS6NZQJqmtV\nm8er6u98icbnq7GR6KYh1eaYdrCSsR5ALtBQnN9/aV70X7VdodKfNyYiY0Ao\ntyOmaT9fwMIGuAQnLHtmPbWhSVTAYHWj1E+q5LF/Nv60xrOK4NTWFejd/8YR\nwBlfuWUPAr43qNY/BM75gAlIDkjkW+yy9UPvcZmJg/NKRNzHy0OhONlkVVMC\nKN5tEvyneUUocsQ57tctTLRNP/cIoFd3L83sUIAH4v3JmbacvapNEm7ipIvT\nf9nk18AUIvqKj0pbuV2VR4FpNBwg3KPnWMJ6kxTVbKi8a5Wk5qIB38vnMNAa\nqYVV\r\n=XzAn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"utils/api/index.js","_from":"file:D:/a/r1/a/_Botframework-CLI-daily/drop/microsoft-bf-qnamaker-4.5.4.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","prepack":"rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git","type":"git"},"_npmVersion":"6.10.3","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"10.16.1","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"^1.13.2","readline-sync":"^1.4.9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"~4.5.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.3.0","chai":"^4.2.0","nock":"^10.0.6","mocha":"^5.2.0","globby":"^10.0.1","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.5.4_1565985431933_0.7758581036349175","host":"s3://npm-registry-packages"}},"4.6.0":{"name":"@microsoft/bf-qnamaker","version":"4.6.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.6.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ec2b3418ed0384cda18f8474975b1971bb51e660","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.6.0.tgz","fileCount":101,"integrity":"sha512-bKwwTyAeYvDurJgDhRm7VJh7SC/gCiNbceR8k7GnzK7mj85NKt832iOooSq72eEBb1/cR28eXeU6FzL7uBUsQw==","signatures":[{"sig":"MEQCIDjMhZPabalzU1nlbKmF1OTNnyBdMPmFQwDT1uXEKayLAiBLYwqO8OVnhAShCrK4QvxzmHPUWRdsS5IlPqS3oXUVEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdub+8CRA9TVsSAnZWagAAvesQAJVl4/5DT/hXCVijs8GV\nfn5qk2JFftxWjTdxzUOulFZBlrThFJzsxmhZHzxgyrCkwYsX4ZMiry2Qlyl7\nN5SdCnB8Fa3gMppCrMpdul0GjvzTrtFaqh87l5aqZ8jAGrtTeuvBUy3TOv2J\nzGjmGPpEOUe/jt27wnWuKoxmrhNoLj3coLclPZuFDBwnQwFbo5OWh1x7Ltn/\nKZryUANkceeQm9xFRhafyHPB9TIUcL39oBYK+/82AKv8KpS9XV1Q8zcna2gR\nk8danr/SFnYLls9ebBl5WUcsf3IOHsPjaAg2geFnF/uUAqntmO8of8g9kxa6\nTXLc3MPhbaqasSIRsPN0LfFQIrbsLt9nqYoTuCit7TeZ+vplLmlqLaL5dzWv\nFkD5g5xxXqWtFhFhMstbJfcqNwmuzPmgT94PHnezI0vm2ZvR4WNwNTS94EFJ\nZLq0lRCjyn+1WuoQ65PY+25w81uR8eiPZxCST6NeBPT6Od+j4+NbD0bmDU2C\nQGLnDa4samE4GO5bAdEllJeTmmco22KzfXe6l9/L5OJMH/3zN1AHBFT9kRPa\ninZmdo42ayFKTHLTyptvx7jOMuLgX433k8XRbgdP2guz8oYiYME8qS2MPMgb\nBsgb/A5y/iDiz7RGy9gU805RHzO2T3aRBfDlGOa1YBZ9MLgyiLszIX4IJ89X\naFO5\r\n=hqul\r\n-----END PGP SIGNATURE-----\r\n"},"main":"utils/api/index.js","_from":"file:D:/a/r1/a/_Botframework-CLI-daily/drop/microsoft-bf-qnamaker-4.6.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"test":"nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"","prepack":"rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tslint -p test -t stylish","documentation":"rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme && rimraf oclif.manifest.json"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.9.0","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"10.16.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"^1.13.2","readline-sync":"^1.4.9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"~4.6.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.3.0","chai":"^4.2.0","nock":"^10.0.6","mocha":"^5.2.0","globby":"^10.0.1","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.6.0_1572454332426_0.8907035110422457","host":"s3://npm-registry-packages"}},"4.7.0":{"name":"@microsoft/bf-qnamaker","version":"4.7.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.7.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"152d46048d5079cbf09edb12ab41edad33b61507","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.7.0.tgz","fileCount":101,"integrity":"sha512-JKNbVbLKuuEXKkUWDKzmvYODzRF+ISmb7NlpK/VYk6x39lFNHDx6RH3DQNMVdLbA/RXKZNq4jCezPa52nBPQeA==","signatures":[{"sig":"MEYCIQC2KmFfSoCbUXlS73lv9ToLTY2AbtcVbteV4N8p4SoppAIhAJKscZTYyGtzz4xz40oYmICMmF2SQkQkQomBhkO+hM3c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":169472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+Xf8CRA9TVsSAnZWagAAsxAP/R8WRvA0UTFpJZ9oozj6\nkDRQP22TO8/rCI4cU5I4y5uY7Db17xyS0+VISCLtQxcA1baxGbX3GnolLtSS\nBm3OQ+y6e75WB4NCfZ0M2Cjpwlk5CUKaXbWJpj/HruP+ZySwefX6yDxiNIkf\nwmajvgbgHyVtWuUOvbdwJ7okR8/IY2lPV+68BG14cYM0unAveLPSdpl5bjOw\nD04sRm0LaQbOAXwhG12ChFuR/TpHQ4YsKtYQNcLZcexmxCjLt38ufHcCERnP\nJyiNH2wPgztmauVqjDRXmZsJmgorEpEaKm+m2ldSFeaOF9GK5ZbpbgK81MHk\nuzAez+WvPy3qSqQ9uH3Anl0EpQjcWw6KVlGKzxDIrcgY3GwZJerUPmIMXnCl\nO4MymGAlbdUlMC24Fcua3ZLgPw49IFRLyqgYw/xeb52538BD1QRgtDc7FJlR\nXwjfosrjT6G7pZmTqKbTGKFrV2LqD4UGbDPB+7WOR1iHxby0ctKj2y1Sx3HW\nK4y5Qhaxru5jyvqzvwj4lrmOfDKWNNrfN0vviryAJ66Xwgctq5zgRzoAEjQm\nz8+jYH0a/UfffFwLOGkCwG2SNV+voiDydzpTxnC4qz9rKaKNljzxXEfoSWKg\nBE8kZA7g6QNDgsr0UzhKtJo/vc+1gZw89nETiiBNPFfbBWSIWL3AlAzpm0nP\nEwbZ\r\n=MWqg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"utils/api/index.js","_from":"file:D:/a/r1/a/_microsoft.botframework-cli/drop/microsoft-bf-qnamaker-4.7.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme","report:coverage":"npm run coverage && nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.12.1","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.13.1","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"^1.13.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"^1.5.19","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.7.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.7.0_1576630267993_0.4094346214811342","host":"s3://npm-registry-packages"}},"4.8.0":{"name":"@microsoft/bf-qnamaker","version":"4.8.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.8.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0407c369fddbccb08a9dd6291ff4440bec5bc72b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.8.0.tgz","fileCount":107,"integrity":"sha512-Hek3mecW6cggny4+nlr9IlMlxgVbm2+SlI3yaYjXfjhgrjyNpZYhfjQ5A60vE6KBcVd8F4pfzfG9Nauf+NgO/g==","signatures":[{"sig":"MEUCIEmPJdsAQGw36DpjmgMMWsf+ztp2wSCmGzLWwdmL+NwhAiEAjg2O0R9tIaadREC2uRim2lRFLy5yiolmnjTqLB9u+uo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":190673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecVH3CRA9TVsSAnZWagAAN1kP/j2WfCqstBDcujryYso8\nuRBTO71AxnsrMMnP4BAy6phXHKiRYh/+Bd7kzJOj6ef/5Ge+vFITjv4UZ9rv\nsTesdCRqCcD8rULhMP+AH/zodqwXvMKOZq2EgcbErPnMsyD8zcJRsYE+EBjF\ntpFBtd+PqanSEF1vjQ5EeE0kkqOYhqpDlOB+ur/9BCIg9lXcB/Jm1Pew7eQm\nwE6aNi8BuO8R4RrU1wKOafcf8n4htBpQS7RXg7svxKrZXjC3BtMOcnFj/vt0\nsGfT2pTCvda1LZMn3jBSRCtfcMaeo6zeGQO7pZp1oOeY9WWZCt7wY+4A53DS\nSZ3gy4kZmtNHecujjmNHIIu1PFDkcD49r+KLY9BdtkZ392TIuk75feQ8NrrV\nIaYRxx+7vjPstA4AbjeCs9uC8B/gTin7D1U7bM+54DaDzoEbIO+h1kBSDRB1\nNee0pjLycIlgQRTQ8U1Gr7k+ZWVqzi6sGOY7RP7NfPz0DSqF1GNlDjLRGtv3\nOnhszNTikduI8dOxp0modv3tbXB1mJqH7EQoLu0NdDguIDcbYJO4FcHSQKHx\nLzkxEtVXrSTzoL96TJkZTcAOYq3enwDk0Wc0xe4dyw6bRhGYum53zXuXjTo9\n7WNRpOFqqIYek8UgDC2RYk6s3B4OIBp4Eof+oI9+4glNk7XKFclSUaRz6T1G\nJiXl\r\n=CaVG\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_microsoft.botframework-cli/drop/microsoft-bf-qnamaker-4.8.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme","report:coverage":"npm run coverage && nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.13.4","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.16.1","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.8.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.8.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.8.0_1584484855139_0.6533710636755727","host":"s3://npm-registry-packages"}},"4.9.0":{"name":"@microsoft/bf-qnamaker","version":"4.9.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.9.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"78c9f4aea84f8812cba89a36d4eeceb39c310f8e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.9.0.tgz","fileCount":111,"integrity":"sha512-fROTI7IFv0Cm+VlcViDaikKYTUPNnrFSlm8OhqCNevx689N8d9PB4Q1F1z6kwlRemHrRSKBcYf0iihbcclMcoA==","signatures":[{"sig":"MEYCIQDEPigOVWf+Hqo8r4JEGR4wrw7cJ6TZyklXqC3CA0hP1QIhAP/ANNbsV5NfgD95UKeFct6CLVUt1bDIWd7uYtteoKwL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":213848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuu1HCRA9TVsSAnZWagAAX0wQAJLo1qpde3yuxgwvVC0Y\nZsbO5dxVNblw10d7XAeh8j6tjde4zJWx1Ke3TvieFAhiiR69bC5eNi8er+R/\nkyIrVlPKmtpTNjWcOnYOBzO8Ngtuhizxeq9w6c+CBupBfhXnocQeExepoNTa\nDm6GQVZf7EYzT2MI8rDRZbijeC3RxjyUFuZ8P76Fmg8vJ+Oz6XVqKAP1m7DS\n37U8pAf3qZoo/Pji1HkkidtPw4pxtmQ5Rnz/35P5CQEVXRr2tyW/EbaLAic6\n2h5eVCMAS+vn07HwewAhznp06AXcgWwGR5WuwrLnv74Ly9yJgaO2GR6iL7OL\nS/BnuaIud5nBokJqlnQXDKMDPV6y1N/F5ygR5B01cJumwLzrLhOuZjQx/8U/\nRxDVZFCWhHDTLQuVbLBhThpPv2JzBkiYRgQLmPZ3mDMLc0nfYB+hicaaz2vb\n+hFYvG/o8Fqp8/6PmZJbpORK1zbysAz9IJ4M/d6sWv8VFeDNlotOKKi5CXxf\n0qBMoUaF2U0Iy2QkcdBK6NhjvAG5ybZc6XBZc7sdvxBbTBpnykEkh9G0VYJP\nIzSo6bIB9VIyMy+QqBLCWIKxFSl4m82oxv17EqQ9lbiCIQCbzUDlSOQ7Q/zz\nJW5ubdoWew3dTq3/1pLROVejLXrPsy9S9xptF/yg/fBLjEKeOpWm4HbsKXMK\nNXo6\r\n=m++1\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_microsoft.botframework-cli/drop/microsoft-bf-qnamaker-4.9.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme","report:coverage":"npm run coverage && nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.4","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.16.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.9.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.9.0_1589308743029_0.4923592256895579","host":"s3://npm-registry-packages"}},"4.9.1":{"name":"@microsoft/bf-qnamaker","version":"4.9.1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.9.1","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"4cbdd34e90aaf1250968a25869690f3c40ac185d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.9.1.tgz","fileCount":111,"integrity":"sha512-y1dLH+aaPLFDxbAZqM+/uiPISmQhor4JWq82TL7c4iNBChMm4fI1EoxiSpBDXpvUJiWzLn0eb8Ll4yVjBdPuZw==","signatures":[{"sig":"MEUCIQC92/4PstBzHvItewE6hf0w0GaPP9VfzLt0VHf8PxpUqwIgRbIcuJoemZJczozhk0Nk+PpYqJoO4VqR6v72pdTnMAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":214237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJez/d4CRA9TVsSAnZWagAA1L4P/juoJKmzgxBOD4ULmI4V\nr61bfUbfm+1z46yJFWtUoPblAGQs18j/Fqou8Pr6fuAVAbmOKEdvqlNOmtfi\n4P72nJUfkphbMaXJA+xYLtMUbEB6tQVZFrnmZC5QlGWnPtRxCLaFu63JaluU\nSNvFbHAmDsP+bFE/rt7WApx5w2ItivURUdxB2HP1gYPI1V4b8gg+ckogSEDo\nd4MPSYH+bQ8jQ8fr39eAFA+NXp1GvQyQ6zBa1IRCsD3hCZcLn+ugD/cRZBi2\nLfESCRYZ9IZPfpBzKA/AYBYa7O1DaQDlQlUQyk0dyA4+yrphATns1Tdssewv\nj9bYWlf70LyqV61osz94k8iVlWmbousYJYXNKAXQLQyYwPo5MhtcyDULkYki\nIeQVvnF56WiwCApiJ1HVwxqgYe/CDsUH1pUaDJdt0RwwbhavrN7BkuOUukSp\ncgje/66KqJg7hHwWsjQ3dvrjSim/XMiESfRkXwMzp8cu1pktMBllFgg3YwcN\n6vzsB9lLa/Ks7ctQosgGVQzHB0n6ZghFJt2UXFPA7KzOJGe9Nrea9/so7Tj3\nyppicSPCPloPv5wfaX+3g0SO76fjRRxzil5kBBh0Pm7p9myC+RwrDTow7mJU\nN34F/+UWHip8+g3B6Ks8E5utTyzR482PnzE/Qhu++eE/Zgu8rIlmhdfw9r95\nMG+2\r\n=x9Jk\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_microsoft.botframework-cli/drop/microsoft-bf-qnamaker-4.9.1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme","report:coverage":"npm run coverage && nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.4","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.16.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.9.1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.9.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.9.1_1590687607939_0.5630547344655494","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200714.6b8b8a9":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200714.6b8b8a9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200714.6b8b8a9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"276fcfd52a768c1448af1bc75d46948f9eb70d1a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200714.6b8b8a9.tgz","fileCount":111,"integrity":"sha512-k66ppZlivJjNLFShSmJgi5IOW/WAfSS/8Kx4EDDslKUHL5PrHFiGZC5L1ESdVaDfYrmkHbCXfQjyg/Gn0GdNKQ==","signatures":[{"sig":"MEUCIQDHw9d24B4bGA6sqp5cmb6M3q6gUb7bsJ6c2wihDBVFpAIgKzvs8w19qNUY68qRHUkFvZ/a4o3WIhA7T3qpTezFY7Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDizCCRA9TVsSAnZWagAAKLsP/3AiiPX09jXUG7Vqvb2v\nF4V72EsHjzqPF+8DGLmPDZdiuJslidQoMgo6sLIm55lwvWNaQcQpxtANHffp\neg6L6FrOKyoL/UCRSrMpRkYIzn2I1aDMlKICFbUry820bLAXSGgpV8z5AWBp\n78HVdaWuUlKk7JW8ohB1esszfbKxTAWijn7Z28HTihPjVUCRz3tok+sScfkK\nl0Sy8reY1tWtz6WpPruCYdN6IaH06EvMkTJTddYrwIQ00I6n1dt8ELnDFyxZ\nPuRNZ+M/h6OTgWRmY3fLStMA01qz8DKw2O3FwqDYRjWl9g1HNdn2HpxAOqNV\nfSyqyTWFk+TXUQU5qOOKSvJNtKcL9tlxoK9nYTtfSMV5gkdnMFyLjGvM10IL\nVPLm7CBXX9ZNeh+lFNwStJ7fjrav2lhAZaI5nPsDiz0T+hriaWVu/AE9EkJA\nxlshdjWU+smqzCHF5wEZYFy0JnhMKup+NmEvZOLRNYJsZF8OukfptiqYH3nn\nWHlW9dCcjGWobCoaKsupxTqR8DaF/AscyY2Gi3IZBpU7RXTEp/a2Sbl/KLSm\nE7LUrhauqoMLoEYCd3yGcYj/a0WNwukG8o5cJ1i88slZrqotSInpNkx9Ushh\nbPj9+s68p1p66yHNB/cMQ85BHDyNs927qWjb+lAvbnYB3G+zt4OtTjrYO8HE\nkkQo\r\n=d8E8\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200714.6b8b8a9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200714.6b8b8a9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200714.6b8b8a9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200714.6b8b8a9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200714.6b8b8a9_1594764482453_0.29746498117965636","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200715.547c305":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200715.547c305","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200715.547c305","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"9f120ea2002ab57e2e601da603f23edb98568360","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200715.547c305.tgz","fileCount":111,"integrity":"sha512-k33R9ebiqoS0KTClVZUL0rdrQvcr2MpNGL16ZsQ+bEksiDhvzQwZu5ypX80ANfmmY8CTSKjrqeZzhynDz1Nfpw==","signatures":[{"sig":"MEUCIQCeygohYIsm0TOvNOyzEjwPGr01I6S2wLLrqx/PJdRCewIgZp5QwD1AzOTB30L+TsXTSHzRpV+5b7JXNemTnhdQJS8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDq3zCRA9TVsSAnZWagAAp3YQAI51Mw9qf8DjbiXFG+MX\nkZellS4saVcudP8i6V4+u+dKSt+Fa6RcI0WeyqAJoj45UqGeJMVWFlC+XLSd\nTsvRiOxq2VrzCGGAKFJfN977D021FmTPUIjpioZJWJ/dubGVIm82/Lqr9PPR\nxF3xeudX4eXP8PAQLlA/GTTOYYVKGW0ojOl40MjTbb9XxZaAZgNc+RN85qnr\nXgrmDCMf+GITsWPeI18L/oCrLhlx91SlwuedIjT5tA65lwWbgRiKK1xolVJA\nhrhUykPeY6MB9sg7yv+iL2ZlTV8+kqdFw6d4u9cIDJCK8CUA81YBVIs+CPJO\nK0iVnQiv0HCJwwclftwczAxLtMxmbOXryqjnIsozYVkXsHMT+UBf8RLSNaUw\nbwhSQ0N6IZsXlhuJMbmR9OBcXKvUPxwf+O7Ce/zuwxxdgNV8K9248S4B7/eI\nHKoEpszlhgsqPZrHQR3r5fOhdygKsZPR/OzqSpiwYHhdJYwHTujSBjInK7QU\nhBOuCjsZw2dioBSDAcA14McfPfGM6LXP7cbFXAWk70FmrkpMeaPujxmDTFCN\nMynIT/aSpG1JppvUEGigYxpFQ3DzKvTfugh7D91i6/qw8QqzaTNuBVwfssB8\nSMeZEP1ZLWdMog9A1PYDkHQAikDuByN+hj7yRPfk2lx3gLgNRhlyEaUHby4r\n4BMg\r\n=KDn/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200715.547c305.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200715.547c305/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200715.547c305","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200715.547c305"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200715.547c305_1594797554763_0.9985484249873344","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200716.d3cbcf0":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200716.d3cbcf0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200716.d3cbcf0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"dc66998c847d7f0aca981df1226b6c639bbeadd1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200716.d3cbcf0.tgz","fileCount":111,"integrity":"sha512-+nMY2L3Qh980LMTD8B9xrhPClxGkoVaZ+44hn13Yrvjf/Ds9wYGcjyvKKge5B0AjfdpUDWBSemQ8odsVEZYkvg==","signatures":[{"sig":"MEUCIQD2IdRzmYyDacuFkFW6vJ/ViOAszuIBzRAIAiMCCqhlawIgKByzkFlFDGH9x70rndezOoJZxMTIaAjZUBYqOy9ZjFM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfD/+KCRA9TVsSAnZWagAA83MP/0lV2XGUz9KTlMGa4bLt\nW3nmm3AMgPC6ubU+i/OCsfdnD5rmDHadIzLD94ib/9Bc2IXAC0AMBBhypf+7\nykEoPDHAy94Dw/4DzkbOqBRiXHqTbhD4Ncq76ANaME8ZmDmalMcL46GgGpdU\n2xZQ39ndBjrCu4Q6EMHdjYYSImNhsZLsKlMlTzBlMfkkVBSiog+5/5itndMB\nIq4fHBe3k/TTf0jLJzHn29vCtKJ+bwgBFqXdj4f007whZH7uaZBCiOcFiuWQ\nMRDNnB/kI/evZy1d6H26fLJHdqfBbsTylSWvExqI1o4en9eqT5bYybJfdNEv\nEKxcM0wB1mWPVrISgzAmWTi7Vg8+IUNae8aWTemAETsvkX6GcWW1T6GVybaA\nbfABmMeX78EdRylL0gA9mDR+pKTtp0a/edTW4/q5MzOtD7uqgm5p/0AwaD8r\nEBJFyPDVSrHu81paKCUDVPJ0f2qMcY0HSJEl+p9+gE5HLPTEi7QCYYqM9BrB\nOMCUfMXTNtKgN3PS5kvHgBekKerAGAGvGvQcZ6EfsRG3eJqH6tIBdyNTn2Bg\n/wo/SaVuBX89rJI9LLu82xKr3I2jV+AIpSd/Lma0FNrqS69HgodU3R2xtuxM\nqXJv7Y1LOc5+BaInrdAn10I4dQYIL4QKq7NlBDF1nO2Q4PamKdBEaXiXBE3A\nc4eP\r\n=LLky\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200716.d3cbcf0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200716.d3cbcf0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200716.d3cbcf0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200716.d3cbcf0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200716.d3cbcf0_1594883978423_0.42370502880555483","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200717.fbe453f":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200717.fbe453f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200717.fbe453f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"050c9e1cd9440f318423fa1b21fa2b32cd328e41","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200717.fbe453f.tgz","fileCount":111,"integrity":"sha512-awgHZ5BdYRrtpN7C32O0jy5Yfep6LOIkWsWUSQwWZemonaZKz8HdznH9JXNUi4rW176VfXv16TFYNVujnrZAwg==","signatures":[{"sig":"MEUCIQCHIbJRnIJaWtzoSd/NdKDZhXQQb/scvKNbDl1RfyEH3gIgEqyho0NJ8wFp5OU6J6av1yJIV8ZTkZzBpS9HbPLzh5w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEVGFCRA9TVsSAnZWagAA6IsP/3vDuPQPZLpmUa1/rol5\nPyXlLApoiK+bAU7rPcEDoCZJSc4BhqPtP3eRQHz7dPIc+RILo4sli6k4Iw7j\njycy2qAc1AFNgWmzwaFENpgmQKPU2Stm+fO4iozemdg4XMEuqjjHY/OiwNc5\nE5TpF/lx/vHeEo9rSWMd0fafun47Dl+BpzpIqKZX502+Fp7FP1R3ILODNKyx\nvfFgXqf0eFQWiecde4Ep2sv3F86X+yxe7q7c7qWxpS5k6E+p8fo/HNk0LO9M\nQ37eOuEiXpauZp0ik379N6J9bCVLyJZNl6y71irmSYuM0MTrLQwJI80iBzvO\nJXsCMyGr7+/6+qLW/QRjkq3K1kHKFKwe4JqmKh+2rt4jaE/vRBH0pppsVAp3\nXmQoHNsf3pmaoPoIM0ut7zHF9NF9DMGEehLjuOrb4ho3tNBqPUXAjGV8MgmS\nIETna/7fWQnJaEF2TpoOZec9fpWuduGJ7CHvn5B0RBaBS5Fkcnl6D9Gr0igl\n4Zmpi0P8SCvqfDf679CKgVA6H5so24A15ry6kZZrFi1gnl0LF7YLoe2rempQ\nQkr1k8h6U4Enxy5u6aLTEU9pDBeuQ83PaWGQeueI6Uzd92AYVuJQPl+OkAuh\nhcYsSmthu+aGlll+s/cdAFU29fvVrJ+0YteU9XHpivTXQQfoHMvTuCChG3Rd\nXQUZ\r\n=EfrQ\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200717.fbe453f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200717.fbe453f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200717.fbe453f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200717.fbe453f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200717.fbe453f_1594970499123_0.9658311932006134","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200718.6bd5cf5":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200718.6bd5cf5","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200718.6bd5cf5","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"097af3e9f57d61f09e0ee05568aae57c7afb6225","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200718.6bd5cf5.tgz","fileCount":111,"integrity":"sha512-6MPbLl6QmonfKGx3z53U/xGO1dlKj+Fhvm2Oa8aMoxl4kUY072DZFjGzHdLQs3YGHMlzkQ+2dnPUgxfZJ3mOxQ==","signatures":[{"sig":"MEUCIQDYM7cpAC1QqcOIXaO22DztRT6aKDUAZ+I6+E2C8F9S0gIgTRCv/8jiqOJlRA4+on9k0ODO4fzlnenTFhnctXcKCMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEqKICRA9TVsSAnZWagAAP6EP+gPmiyBA7xV6mkXIOHfp\niGwjhi4kpXKxXe7j2STeYPin9LBdThqMtWtL8RvJStAa8hubKlJ54tl7imCz\nCje9h046kSYikIKk+b9OsSy36cJtJeYCM/7vdiFOXPh3AsXaEuy08YGGn/9G\nxbsmlwAv9jp5sz0W7D/Jue9r+1S8KrMyKAocpWPBaYU3RG4KN7VJGVp8LzCZ\nrVHaQ3HNHnpTWVOveCOdWnBEDCc72qLpIiqSREf+KvoRwsACjIM8DcxfBm3j\nE8v6XgyOhgLRKiXaWQkL6IwMRgNnNT4SiGo7HnmU0SYJJh3tOcwny1S6Plta\nI2R0GDUEoNb4XYyqMQK2GvSgscACNMpHiweA6U+tGbLer1ebZJvgTAonROkK\niWzKt9mO4+fA+AJYAWhQ5rRfRl/oYa5oNX0FJMcgcjT+u+gKMtLbKO1BvYXr\n4btWdDG6k0FlaRLtDVfjcbRhf1w3Gwy7uhzMVgMUBANoPPdwiJjSyElW6Tbb\n7SPcrAEAiH2sM1+0DUpQYfZKa3XiRH+VMEvYoaDSF9r4yyXbCJ7DeQryHyMd\nbbKI2K2uNnXSqo7Tfpewm0dnJ0mvlFKKgGzA+nEClqC/f72uyujO6nSdl0Zo\nbQpc1o6kSMfBaVT3xvVA1W5ipX8ToJF59HF/a8HkBsNLFREo6aPu/GPAkebM\nIg43\r\n=jgdS\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200718.6bd5cf5.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200718.6bd5cf5/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200718.6bd5cf5","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200718.6bd5cf5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200718.6bd5cf5_1595056775904_0.7942458965658263","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200719.7816875":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200719.7816875","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200719.7816875","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c2cbe33d3159eafa9378e298b1505ffa892916d0","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200719.7816875.tgz","fileCount":111,"integrity":"sha512-YtXoObRTGXaMsYX+VFpgpoAfNnWrx8fC91KP1GgvrK0XeQFaSIEiA5w2sKlVy2gyfaF0S6dkMZt4PN9YOv/MLA==","signatures":[{"sig":"MEYCIQCsap3NfkFH1EpoWxFWeNIV222mYZ0ONO852kNxW9M9sgIhAPnf79KS5b+U53nSpuXFqkbfMNZaLxwczbx01b9PtTOr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfE/PyCRA9TVsSAnZWagAA3/UP/iZxquZ1BN+8cH4655KI\nby6VxA9o8gEDiEr6nQ/JIcf1D346mR4a4C4iGLBNHwHlBgPpDUeUPKRriXVE\nZsCwwBQLDVTSKhR2JFxQiz88RcNqQ3YmjifTgppLlUAadncuVcubb7ySOZXU\nfo+I8oDqKwEeHVMwkfXewDAzb0SB9QFbeSvyPBEbeCJ8rqqr4K+3NwfNbbMa\nEi3v95wW88/lLCxNWAvygilWBmp9/EJIGz2vGE1dhRKIcQO1ESTsg1qG3vuv\nRl8WzokEBfBoLJoC/Q1krcIibrVlp/AQPJlJJyfy6HR9YuN4SGWfqdx3tUTT\nnIgi+fnwBZB8k3Gw0UnzX6Yi2aQh8ntlpGdZDVCiX9/Um8VHwJUKbFMqp3W9\nB8jPgqhvXd0FobRJOqS6dS9o7/pcvCH8IXNGxHqoy+Ig88sf0i0YSwzv9wo7\nFj5nGnUzFJWPxjdz/sc0GHZVtXxXTjmk31yKsIejBPKl8pHsx2dHqcXETHiq\n8C8lo9Tcc4uU5YyZyXCs4PWabyAEpNMb31pe7jCZYSX7bRFg0IoWtX3X6Bz/\nPL+5ck12+fPPRxRKpHaWTLY74rxscDd7cm4ng1V7g0ur2OLUoBck4NSVOjf1\nEAL3sob9tREi52qLdROc00pm0f5mDbAbk+hJ7mSIFfS4OPHtIqsIjRqC7MHl\npfr1\r\n=uRpH\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200719.7816875.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200719.7816875/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200719.7816875","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200719.7816875"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200719.7816875_1595143153825_0.7181223776511525","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200720.88a2a42":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200720.88a2a42","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200720.88a2a42","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"25e9ddb60a912fe68b3dea3bae785620d69554d0","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200720.88a2a42.tgz","fileCount":111,"integrity":"sha512-juC0jV2TVV264B1uW3JAm8w631dhxDGzTDf4oQsUdUveAQ9V6DWbhCrrKdUq8Q0GZu/UMNp+uBecOrxtYkt4xA==","signatures":[{"sig":"MEUCIQCvALhPk9hEsqhsIFANLHs5pUiTYt8Oe/v/sN7yHYY/HwIgcKrH14w5gqiuvNK3f1dmZmeLfCK9GJgi2uFGkI3r9I4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFUXdCRA9TVsSAnZWagAArK4P/isoeUeUFC3Mf61KM59i\nlNCbVBG/NrolEFb41ioj43WDbKIE5YgELrwJJADwZs2gSNpghsCFE5DsWLFQ\npnzggk+AUThOWWpbuF/yEbZF9YAnRXPAOu2UmA8fvWHm5C05SfAomMn18+vb\nasDBcIxKY4O8xKpI9ZVP9AStstqkUfspZewJdGruAeda74D0AR8FazkIpnVG\n/DaZBlJsr5p7MKfQdnYNbiOJOyit4EpjKf6gdxO1v7gy36WNyQJkBy2ArdbZ\n8T6ut3q3kS+D0YZ+UV3KYD+CV0B7iaDil7gH8a9BcM4XYz6V14mTj8HsCwLp\n1OmAWFR9wSMros9dcjooLT04EUyC5KscbmKE+0EZF07JGAinDENt4Ph7Y8EM\n+5BA328aNUnlXl1H/G/IIMjn2vYDc2CK0qYl+HlAAcMc8IGgHhDzNgqjlcqv\nkNdRE84qf4UpG1SalN6r0Ep2ugR1/L203xwTC+ZC6NEhjHOABaZTbnnVh5+K\nfXL/iz5m7LCocDtl9rTe8qxdOgTJc25tkGwBQtFRAnG7S7SxbkRps7+AJvg8\nKoimwLg7BkemjVUItnky4PzObaYyxOpgw957e0tv2SAODEJbu1Hq62w2JF7N\niZ6nim06H0xvd6V7IMZmqw6Qjlbtc6kZ29yoDOx8plV84XCaS+MBaAD16P5z\nCcVb\r\n=43Vc\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200720.88a2a42.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200720.88a2a42/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200720.88a2a42","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200720.88a2a42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200720.88a2a42_1595229660677_0.6514348798123941","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200721.88a2a42":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200721.88a2a42","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200721.88a2a42","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"4b19b25517cd59add9fc30b9228ac0eae9581ea3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200721.88a2a42.tgz","fileCount":111,"integrity":"sha512-CLNPjiaFJTZAnx9lJhfp0nYORtKnLIxPGXkRjwnJx99NzqVc7JLYgAn1N4TTrbt3Jw2Lmu7sGgNe8274LxXi1w==","signatures":[{"sig":"MEUCIQDTsgcEqnmc5zwaLxktZ0PP7UusMnJT5kEj+jPN6FZ+dQIgKWrSrYkvWb7adB2R8w8ZSnVT/yUYtbVHAjQGRhdwcwQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFrPYCRA9TVsSAnZWagAAVNkP/0+GDwXcUqT1hLT69/Eq\nn+RDM5rs9/9e83LKSRNPcj+pPJtPZjsn3RlWVI4Z3EuoMTk5V/6ZzJOzX1sQ\naI5jLvWIyK8sVeghouF1PkPug2bcHO2LUup1CqLJ+XNUrSJqYjdfQ3wSk3su\n1Ki2GYoLPOblUafKJjkpNemjCTUEO61ae1spUcJPxHTiUeB1t4VsbtEra2GS\nHeDHVGP+c+oDMgejSdv6X1zDGSaLFDl8dnL7D1TDn3QOvCVIkO8xcOpCsxoh\nhqzoffX+qcjNdf0v744Wly6/9ZOZRkDwbCJJY6/u3tnuFno6CH0lKlyipDWK\nPb5gToF/IrRgnWNJKSvXfMXPftafCyvIFtHJ48i3PD1aHpEVcGt9mHzFS2hl\n4nmQF4BHQev5w69DN6ICreEAhgPnHzcGgQXuOR8GRBiKzuE9Mh0cFXQsFMG9\n3oOtLKNm0hUr/ITQ1W6x1Bi/++kkqak3iTP8x0YOlzg0Q3VTfE9V6AkOp5Bv\nKiRb8XsCaYqiOTF0Kt4kxrUt5vh5XyAoO2lZk5h3XbYSdfzlhM3Rqf7KEhxu\nnS0agBNvx5tCH5EU+kqLLTR0rL0vciFYhm6CrprODykko1/Slpp3eXaxe6+k\n/R538VWqNImGiFwryBI8GsGabTuvllO28j0Mx3wkgLn/4mOF8qTSq09nREMv\nLwdM\r\n=AYuI\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200721.88a2a42.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200721.88a2a42/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200721.88a2a42","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200721.88a2a42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200721.88a2a42_1595323351658_0.8961951194623394","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200723.4c45f4a":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200723.4c45f4a","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200723.4c45f4a","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"621aae22c90cf34926f8377be9b17fd22dc48c35","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200723.4c45f4a.tgz","fileCount":111,"integrity":"sha512-Fh+JDHrDgtPOfDjGYiuUkYDvHj3tO8CZwjf8VQSb2j8Bj+sjsHDzZhElLNh3Txh6f5NH3FEMXCZcs+HspbiEqw==","signatures":[{"sig":"MEYCIQCYu+anL8cdAoycyb8i+RenhfNxVMPtdKmzoKHe4R5ljwIhAKh8A04YbSwcDbrXsFg8hcfNaXWh51L4e8LKNIfIS1Ba","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGVbVCRA9TVsSAnZWagAAvQIQAJrstf6+n2Jt3Ns0H/In\nQbEdiVSj6MvD2sjnlKx/syRTcJ66eXk80Xz0aoM09wfnCUYrBThAia8FmZSv\nMci7LcSf3dQ58LBOjh3KnhGkZ5veIjr3p6FM+inf7wMqoTCg4G8He9NmMDdQ\n7NZHRLnSEmuYieDAVPiXWkQE3XjvlCKN+7ES4YG31TiE0M0A7wPIM6211grZ\n2DZoobtzAeEgixubqPEpZipCdRfI5OssoIZ/zahoPOFOyBRUoBKo/K5QifHG\nnau/tn5V+eABsT1CxTo6lkHLG5s8vCsCAaCAD9gpgCIMGsM4JBYLol1Uz9Gw\nAPWoiPc/pYvJzAxIdLhbx3PlAP39udyB7KuhAD6kG6nzJgp1+O5nE1UGlSAP\nLqsLSagtNpZpJE2reRg+EIwK5P92k7NkEjxna5jKnbeAfL6xlQt0zc0nVMpn\nVPZojGQsBD15V6piLLFJUpceyRiiXreLltMLZ8UDVfrYx01uCYdZFWFrRRtT\njrtUllhaN3lu1Jth5f2PGa+PwB0Am24+AM6tM10/ZwIUewJMMbJBM8hjA9BR\nKL8aH2XDFAFdh6bVJ01BuapKUcqu1+YFbHSkAbBDYnt3IdWlT/zWf/Ucd7fQ\nibM974hsEO3n8N+LQRGIxaULiKPsKTHP4WzsBGRPD0pHuK4OQksgQ/iedn+G\nlo/q\r\n=5AWe\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200723.4c45f4a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200723.4c45f4a/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200723.4c45f4a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200723.4c45f4a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200723.4c45f4a_1595496149426_0.5681573820254877","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200727.f10d79c":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200727.f10d79c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200727.f10d79c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"b402934a4e971b2da2105dc469545dad8b71cae7","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200727.f10d79c.tgz","fileCount":111,"integrity":"sha512-gZJQ9rkqNMcm6kfMvxlcwxOrCUeCnjfMzP8KejYOMLFyURUDq+zjXZe/RKEBPHNtyxntaZBaEBSkh9CXFOZjSA==","signatures":[{"sig":"MEYCIQC/BXFvj7icM2oC4LxAW/zSMpvoiTUAjiZWUVkyisY6ywIhAIg9sWGJLQZV+YGey7qrsoMQ6Iz+3O9MuPYgGHJIwDgj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHp1ACRA9TVsSAnZWagAA3EIP/0VxdF+b/HrUqj/a7pb/\nfVy4B7M9BuzJp+ZflE4elO5yT2x0KYZs3H4QOgSqiLDdvR7717oYSybzaEdj\nGecHqKVOg3HcPtnYABqxAhWc6Cg2JOL2zSvjP5tkNb/iySMYf9/Zn//aGcRd\nAX7bXZL3Ig74PpnbcJSRXh0DWzejaV4SfzkWi8Fqh/H41BoGPsfpKxn96aRS\nBLel6W7uPfHqW4F28wf0A2GIR6hlyhEM67si+ieyNLWMfEe7RWbrSbOB63p2\ndkIbh3PJ/F5MZo43uVC9WyOXKZ1Kdv0WzMJnsg4pi3+OaZRecW9JjW/1zsF1\nev9f4INex4H0QlYb590JVbQdXLa6xC3p3AYoZObmByk5psDpwK/i69EN4XrM\nBeFjWN8nvpzi6CPBSvUos8pokwovefKf8cOrJIj/XBHjI3csGv/dsLSdqHR7\nqyqf4AjnFaXY4OpC4It7YI0soqP48Lx8Dke6kP3vtJg0MY2mN95NRm8RAa8R\n5/vX4r3XvaA1od62RLWXc/iHr0wgCn+3Rq4iaUcD2AeniMvUBKiaTab0pj2m\nHDYuab3OpxUISu/Omy27g9JXZ0t+ioN48y+zhn2yYkTEz1k4T+7sEV2JuF65\n9y4tx3LLTfbhFnljErKgdphdc40kuIFmJE4SmCPB14rFkOSB0Hj96h3tYNu7\nHA+O\r\n=MWRO\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200727.f10d79c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200727.f10d79c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200727.f10d79c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200727.f10d79c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200727.f10d79c_1595841856333_0.6739661697266628","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200728.930f45e":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200728.930f45e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200728.930f45e","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"595f5e38ec62d9888cec6f4329e9e40fde27efec","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200728.930f45e.tgz","fileCount":111,"integrity":"sha512-dUaITxwPBG9S8KDAJ/YpR97KsOtCoXFGRtOAK7UfZdqi64mrc2EiuV3thO5gPwRjrTSGiCRdnH0ubhZIE6pf9Q==","signatures":[{"sig":"MEUCIQDx5/0bdB2ZOglMO+B7zVzBU1HJWSltegQsWRsyFCNUIQIgH/Apvb8TfWs2Yf2FewbZrT41s6g4nI6T4wn9Ys6YNPE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfH+3LCRA9TVsSAnZWagAAa3AQAJ16Xl4Td7XI2If+gMv8\n9vOVvmmUI7sastYubiQS0s1n3V2VZBCVeA9RsbvzXbMreHiRy5iFL1flhKVb\nL5fLrT9Ukjm9beiUqV2pLuHS9GFn18nC0ccjUr0VjuY9OZJoppwf28mVGYm7\n9+co6FHBpn77PpVBT7jnyATZSWlXF/v/U7r+d2pXj3pFGGB5jgV2ebNacoda\nwBr6/OBfIv1i5OtuIdltdO4caUAdKw0iVjjs7elUtbpDsTeMWgDNDDy0sy7W\n51dGoQLseVtD1RYqWl+vgP3+7c5jSgi/9mdQnDIWMrywUI9Qvy5GNovNLRCB\nXywJG2dLWc4GV3Ed3B2MZuHo2o4krwb6SSN1nmEmEcLXZBILHVz7G0NksYpV\n7D82fNUWIoOkGZnWl95FIG75F/ENFv1QxDnr0oqfqhH+otLVetV8KDTa+/c2\nqRrBoJp12QICxF0YHf8rEUnhvNgSNYhqkFyCAGXv8cZaYhzjEBcOS3j59smY\nJhBZo9NKkWQornmBmgxOOcW5WUo/9vWJ4SRgpC/tAokfJU86NqmOsGVm8UDK\nS1ehhqyfvE+5DsDV1RT2ddgMS42Qwem4fo6PRve0OP3QehOAupoU5UNU3aRq\nAkIDVahhtE4ASn3dDDyMI5wmW/O7hSHnS+KWSyCTXCI4l6jT7WrR66tLSzcU\nbMUA\r\n=oIn2\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200728.930f45e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200728.930f45e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200728.930f45e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200728.930f45e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200728.930f45e_1595928010881_0.41688545808964417","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200729.4ac1279":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200729.4ac1279","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200729.4ac1279","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"3554f28dcef340acddb8fb4d26a3164c28e499b3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200729.4ac1279.tgz","fileCount":111,"integrity":"sha512-0Fw8uS/D9z2VuKN6p7H9ZqN+i1GW9xIzSP/swERcN3d1BeAGtVMQBFW8NYVrPdSVZtK1wzJnz5Z+WebkFMaHfA==","signatures":[{"sig":"MEUCIEQ/DCMPSPNbLiChyryTyadR3Pxgqd1ksqWl3eOBRJN1AiEApr3m3en0L+iIwLs44zYCo9ta+VaYRuJJlUg76JG/61Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfISN6CRA9TVsSAnZWagAAEaYP/j3TpPGDEEg35C7gXN+j\n+7bHOmvBBw3OpLoOmflddZzD8maO8cH0e2eYsOTH4zZaIbSbhehf7cbhn8mS\nVudjsqcBbyCbrzU5QKdA96xIU4lo7Mk9n1XCan2wrHTlpqHnUA/6cB6dm5r1\nW0EB2D9/l5ZkoXZy43Mc2LUI7X9sX4Gc+OEk6QpQoVfz0LTAv377fPENyI8r\nugdNNYLHAYBmibc0pjoQ6TJ9hSRqhzS7AZh8F03YzUbPARJGsqTU4HS7gEGR\nDJVjIIE/q6XUIPro+7PVTotl6cCHFjlpe3fu2C9TuQCgiKA4J6QBkAuEh0II\nBoNS5osWK6vB8sozYWsIMStd+sYuHFPVQNdIfHu5hR8z4JF/3+WkvrCgaN+j\nUuUqm9Cef6rnOnlKiGc1u1sd4hbwdrDFMXepMZ4/6qSeOWbc/RhlDxzAyIZh\nSAVAU9/I+AzQuLF6rke+mrbTb00jI4LLmnureZwyxN5FXWp3E7dLvXM6FFlt\nero9KOui9Wh3JWT+wZDQHddxQNg20Ai2JSaiYFX7tPSa8paCjW/L1cVKoRZc\nND6fJaX3J912mUDtxivqA69wvlVm6kqSmx2Hog4ICwSi6ZxmhNKxpq4Xh79x\nofsjHVWDOwMisXYgTuVkuw4jjhmZ2kkEz0zVtXKRuydNZKX1JJVt3UhykkRx\nqnv3\r\n=Oi+G\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200729.4ac1279.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200729.4ac1279/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.5","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.2","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","request":"^2.88.0","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200729.4ac1279","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","request-promise-native":"^1.0.5","@microsoft/bf-cli-command":"4.10.0-dev.20200729.4ac1279"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200729.4ac1279_1596007290297_0.45418052283698573","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200730.3786d10":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200730.3786d10","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200730.3786d10","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"4902e63e1d4af76147124645c57169d31998c9e3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200730.3786d10.tgz","fileCount":111,"integrity":"sha512-cHvW/SO24ufutpBOBiSHnrf7q556cCrTBrZdEDrxPm2dM9p0dTQLJGsVk4w8PxbPZ4AftnF9OFi3WQjPKwC85g==","signatures":[{"sig":"MEQCIDjWdgG7OhfWPgYNBmKtix/eqm7CIqdBhifgIPD5ju2MAiAB8ffcNYHMDQyUcvcuYGW0jzsTzJ2dBlRo3s7vkAeFuQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfInS4CRA9TVsSAnZWagAAZ3IP+wcKXR+M7eG3vnEPOjs6\nTAJgnqsSD+vshwnlOB66Wrm+7MzbNkoaVzdnHKivkWmjykHzuyeVaTmo0fY8\nlohD1ShOCxACYQbFIBaphdj3bb69hW1SEOStuaWwIa4wzTZMAbfOyj/qYPil\nXc9uvoeuoQOSrZbhicHxSwjbcU2qklcVn0fpF62uQBo1DecLY8v5wcWWYolu\nDdVpgFDJwY9sA2lxIVfOqUl99+V9h4m/n296rPaJL7o0s/C+dAqVhprieRuy\nmB99Vgq2PoBflIs5ujG2idNhWT2Bj0hGwdTbqDeFpLKJD7FFrtPjGknygCm6\nkOwSGRePM4wenxEqF5tep2Wd+9E+AQxu3lhaVcDqw02VoqBIDdIvkdFG3XDD\nkHCFfY3kB2juIYyvtl4PlRBjZR5rQq9p4j5EIqitd3st4wczuShqTj84jZR+\nJX4uVDXe87FBNO25CyS5D8PcrmQzVxYqQEXWU8OqkcEkj+4DsAEl+0Pu1qHA\nlB975TqJwiIwsG3yavyUPfVwXrZW51yksg3wmrODIgGqReUU6i2XCa+LT/te\nSgi37/oAEqEHwuYY6S5aaUytNas6pKjfKrqBL4++m1Kb+aLVdJDGe2PvG+Hl\nN3bNhvwMWx1YnAI318/kt2/Kic36FThrGpVVSh/pBNBzZFfbBBRwUd5RpnOc\nwNSP\r\n=co7v\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200730.3786d10.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200730.3786d10/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200730.3786d10","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200730.3786d10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200730.3786d10_1596093624087_0.16457017779872785","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200731.4aa848c":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200731.4aa848c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200731.4aa848c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1783ccce3b950d217ec12930ce5e692c3bf56f3b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200731.4aa848c.tgz","fileCount":111,"integrity":"sha512-OGuH3vQGMV6btY6yG+sw6egDPijS9LcLjRHw+ziHu08cYxxtge1ZFsukKQRvCPDy/h60S+VU35Mhi89gZGUMPw==","signatures":[{"sig":"MEQCIH00X6MNqxLd23lu3UG+bxGYQM/7B0ahHQmt+Df2YBn9AiAgTBzVBqvgnTtwG1ZyYbfRQysWMUCQFE2m5477NcHSdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI8XtCRA9TVsSAnZWagAA7ZwP/jn9Qg66QK7fWFbBFcx3\nFT96IrCIIq6Xr0ySNVtPOoADhdbbTg4bsbnuF+tC2Blz0d5JEI/gQD/rwPaH\nkJqzLAVBSi5yruoGzTg9X2GR1bpV+vmuVT1nvkZj091djMM5TD2ekO1JhaJr\nqZ4Z95f6dODVaxV6Q2PCx7SKMuFffUWz1wS3pXf5dWbasY7qNQhGAzFmkDOH\n9cDI2HRaBliGfiH+9Jj0xJLxgxjfOJ+BTG6aCAtUA0hMnBu0wBI2/hlbXtXv\nu8tgqJEr6MpuZnNUo59LLNd7q12fdU4AsfeZUs4shpMLKcLCW+juISHjW5r+\nZls01+OF9R7gBa/vxpfqWZt7kKmA00bu07owqkZCq4BLnrnEF2Cs4v80D3Wa\nV1PzCAJkkfJE84t0rEi4J3Y5tad7K9i9jLCBIzSMDhSLtMNH4jfTS+cKLjff\nC4TWC59Uw9q+XJ00nGMw9K1wgse0jJkQH0603cJdw2WxTHlQzvVk0Br4mNMZ\n93sroeTTAsky6JnJsqQM2VGQwcExINGm9lEEs487A5ndfGZGjHq1EiMBo8p2\niYLm1Q5H75TivkinDq6lhSD4AgxGc7r2dYia88LRfPbim1Z/GN5h8yJcFngH\npDMH0CO+y+FYuv+6AG1CDyHVm8yOWRKnyV2Fgy/m+YQRqZN4C7wevZnrX4CH\nOaip\r\n=52Cr\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200731.4aa848c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200731.4aa848c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200731.4aa848c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200731.4aa848c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200731.4aa848c_1596179948683_0.18287474993876995","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200804.10e144c":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200804.10e144c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200804.10e144c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"93ddbec5c64d7287d869e9518d092845a340181b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200804.10e144c.tgz","fileCount":111,"integrity":"sha512-/9wV+99J+dHJlTfqN69RcNzyoNZw6yU5Cy7K1XnmiWxQXywLkKbgjc6Dj0v2jvJgSkVVJf7JJV+tx+pkO7b7Rg==","signatures":[{"sig":"MEYCIQC8C7PB0lUDpW+Fk8Hc1LVP3TSEtaw3wvr51C0qHQLTvwIhANoCSqhsTTTHiISv08LiR97MpasG67a8koP+L68duerH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKQwKCRA9TVsSAnZWagAAqVgP+wZPy9yOMaAqkvQ1qaZp\nMcel66fneGsKLoBv0WPEx08i3T7hUaicz/02VvFXwYT1oIuLmvTSMLXO7foZ\nLm5FSf+d+mzbinJd+lVZYLgCD+Utq0NY2Wts+TPQ70gp9ELSHGS80ISv3WrT\nSWtSgGprJ+URJvKvo4bZoZaiw3z25M0X5ccM267RziiswVHXfi66ccmdFDrI\nzwMh0J/pScotX0SLGUUwsqiyQAN0bgYoAxjhq9YuaAYCD/rURM8bFtM9Hu4K\nkBK17wVf0vUPX3C2ypTVQe4qcaXyqdVDg6XWklcmXa8zSbN6Aa09VMmdthp3\nDR4msATLVI5Ug7FYKPy+flsxjSVKhV/4NLaAHTr1D3z/my9FE0/roFdltphD\nEHB7r8KePPRFGV5rsJKkH+NFdBt2UhQW/X/dcdhxDVpzueVXzI+FfcbFmW4x\nLv4vGCQc+qHTtk7qDmzvoSxaqdH0sCS/hdwcYv2LGZpN5IEfMm+iivEHeLE4\n5Fuy9yg5rmlOvT1AfHzZXitiXZ6+P6PbI1IivtCDGkJXu1toC5lWHDxyF006\nWGH5mUsAOGARfg7HMUyH0Rj5oCUZtXpQWH9lfrWbPSuUHQ2+eTVS3xxwAP9p\nHJ+cg9b3IXlO9HMvT2IQmV3aL2ajxGsf0jSxeWmIrdc1AV1+PnMSKjmcYM8C\ncgvB\r\n=jajb\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200804.10e144c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200804.10e144c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200804.10e144c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200804.10e144c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200804.10e144c_1596525577767_0.8197299753313145","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200806.789391b":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200806.789391b","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200806.789391b","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"13c92b59afdd930ef76440f3103114190a89ad07","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200806.789391b.tgz","fileCount":111,"integrity":"sha512-X8biHgT1JLiSciArZWyWsdpLIEhTlie50MxN6klT7J45xrTM68mWiQkxFxR84ytyHkVi7mIgvpSm1AvO/UOxvA==","signatures":[{"sig":"MEYCIQCI0Vt0B0XI95yD7CItEPiMwIAP+Ds92bFx8qjxkvPSrQIhAJtsb/pX/uCVvjU+7SZhwO1sF3AtwQkPKsfUtuWIyUgd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK7CPCRA9TVsSAnZWagAA2qsP/37K1QNa77bH/C1dh0B7\nYrGgM8U4sDAL14SUlmktv9Frr4nxp44y90nDHdkH3IXGeSPelIvkdnD2VlXU\naLIWCWrH593zOFDmyTAVnNHqY8x/MyRaD2/LD88zU507KeFJ0l4LObp+WEeO\nahXdAqmHk95TFt6JVuuejTtylP4xMMLNXNuDcm4A71g/tU2Qg5N7kKSiFCCI\nn5JRUlazJ1hBCMWkKJykKRdrQpiUxGLZkxRcqX2SRjvRvUw7vYL3ymrY4eyd\nJ3BsW1BLPCKkKgiAW8JeQ4oIPDOOD8jJJrmz1QnGtiZrQnPfiGO2eElH13MO\nb/oGWnFQZ9LE2z7Gw4bgwPfPfLcH59vB/WLkhoNZEj2SkT/oQQnqMeSvHq9m\nDR3dpaju9HaCqa4HmTsRP+giMI0iv8JjQf3DdxG5U539R+gES2fEKZKGu81G\nsvDVsoaL0mzv8MQn3se+BkUsQETkA6wPPBHCXXmQDDQIsNpvjMr1L0qznBE0\nTheYuNu6TXA8muvgdsYNhutBim7To2QCltTOGk7fL5T00yF0AKzRI8JstcBA\nyVSYRv4voAAYXtagif0oLDCOCI22VpD7fYFdcOq1+/L1j5lG9Enoj1srin1t\nYs602Y4Si0NHGz/MfRj4YgZ+uudFwTq+2l7YanWpgRpts+sdlrWbIIHS5cFu\nKUZt\r\n=EFtC\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200806.789391b.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200806.789391b/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200806.789391b","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200806.789391b"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200806.789391b_1596698767237_0.33944925831155337","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200807.8f27460":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200807.8f27460","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200807.8f27460","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c1208ff31d2fd87f221a6d713a2edac606c53c38","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200807.8f27460.tgz","fileCount":111,"integrity":"sha512-V53Cnenh16vQ0QFHesFln6H5mI0MpE39aJlcAr0pR9CaAed8gGPXMYQ4ipxxXYz0yT5TbOH9WBgXf2ozlE9TWw==","signatures":[{"sig":"MEUCIQCYmVL8TK5FVw6a5ukwvf3Xc9Rck9RL5911w30yjAgnkgIgYE/u5VmySBCfI2P0R1FzgypNREsELvF+2+g7Qn9OoFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLQCDCRA9TVsSAnZWagAA1RMP/ROrG1MCpD0xIt2/CvBy\nREjTlNiCrBLSQThgnoXqkMBlMgw6N8JLaE9iu5w+c1XyjpgHIiDqNrG7L35C\nmZVVKjlxuJMfLuEJSqRfw7Tt3cv/QMe1Tj+sGAT7XunCU91KcYToO2ye666R\nvGqmjlYHwuHFcAqHUSXc459QBMlMEX47RSagVhBkgO/Q7jpP0GiI1mn+ZriX\nI8GzE12LFeJoQXtbEE0jLF4aOioNDMCc+oMgY4RqIKBugkY9YmxJX5nAgcpa\niO1Bl2S1ATo8eKb7iTFIwF+8YDVnyLgqFunhlKvePeiVDX10VDvm4Unt8B3F\nRTsALmpg18KLkSKvA9urEZXrnTonLedSxkVW61D8RUvyYdL35X51Ysw6Eqzw\nun/r55cmSVmcBbYboI9miAOTGGEHNdpU46u8fF8i8fhJPamOgtECaY+GJvs3\nL5avJuV7SA+ioX2pz5tqwoWjFvDM+u6Z2gZWnqxfdazEr8+y+f8x1+wSr3ji\nC9qeUrgNUNEEDUpGrWAXkzo3Q8ZmDw3eEcdLW6/Oj52Gub/lV+WG+uq+Uy3o\nJVv3G4ZvH8UQUNJIZZMYDoQyczCNXyAd8hn+65DrrVjoGfvRs2qdDtMkSaCt\n2prNPQF59ZCUQODF6ndau6/DthQyMh/tqEYWeK6V9YHjtnCkuEK3iMFr3mdj\nSdZS\r\n=7M/5\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200807.8f27460.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200807.8f27460/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200807.8f27460","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200807.8f27460"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200807.8f27460_1596784770412_0.47690077724080937","host":"s3://npm-registry-packages"}},"4.10.0-dev.20200808.5a7c973":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-dev.20200808.5a7c973","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-dev.20200808.5a7c973","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"2fe15a84ef403f6d4fe6f57edaa0a56d3ef02c93","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-dev.20200808.5a7c973.tgz","fileCount":111,"integrity":"sha512-/RKmxHj8lCkR+shPDjj9mnF87OJ019akve7E6D4HhhRg8ArQqXSF+jlIGv2axwq9akbGMuuEITYQnbmZDAojCg==","signatures":[{"sig":"MEQCIFk8UJZo170T4X1l5RDnsf6CKgKCiISVi+GcVIrlSzrCAiAxoTSnoNEqyQYq3uG1En0nqQk4lFdqSh880Iqoz+1bMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLlHqCRA9TVsSAnZWagAAnhwP/3HmklZiyfYVgkqEpc0c\n6M6evGZNqs0PyVpNLzkbhSLWbw6CczyBKCF2wvxlh7cng3uYAO1k6tjoR+O0\nVofv63FbLKW9WuBud6W7v9gM117ph/LCCWb8x1ewy/YXbzjquQlyh0sbq58T\nuwACMz3A8xOUkYaUk8F/2cq54QgLxZrImgPFfzo9rMDkyJ7K2bkSPXOmVz45\nVOVFMARjesFqx8oK/b0UHj0gzuFKPFBTwNMjfCyDV/o4H1lHBY4rPNOAakcA\ndjktLo8HTBCtZZsmf+ZIGL6IKbvkYML0GB/eeGbiUkknC443huLoNErAUEGJ\nMjVnMUgDKWG+WWr62B7oJY1PEs9COBty005HVyPZFanXWN0WZ0lMrFRqlbUG\nFfXmBCfwNwRm/dmQGdkkkp4klA9+swxZp6N+p7X+nmREDtdhI4dH7mnlQ473\nE5Lf2wUiQTQSUVUjveRnnYCdLBcg6tqHADtuE8wscnH+EIeViD9bvaPLwRmW\nX7tlWMiOwXwx8zRvaKs3nGshKhKYR4viiiAdsrUuvpj6HCA2UqIjSMo9K607\nRsSXidB8xR5qsZbXv9+4bc0rpyUZjjswhW3Q7p9fysby4lvwnMiopSrJgAJV\n1wLv1jDU0C2CEOD8fFmWxvNBc9Gq6pjE2BK+HQBt1YUtUoEZ+Zi8UC7XHKx3\nBcWc\r\n=qkP/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.10.0-dev.20200808.5a7c973.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-dev.20200808.5a7c973/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-dev.20200808.5a7c973","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-dev.20200808.5a7c973"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-dev.20200808.5a7c973_1596871146120_0.7988430697086859","host":"s3://npm-registry-packages"}},"4.10.0-rc.20200811.e3d7c37":{"name":"@microsoft/bf-qnamaker","version":"4.10.0-rc.20200811.e3d7c37","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0-rc.20200811.e3d7c37","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"17b712b8ef18dd77eaf6025dc013734bbdb04b06","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0-rc.20200811.e3d7c37.tgz","fileCount":111,"integrity":"sha512-1Qej68cy2eUhUXKq4fz1K1RN26bTZXMy+4Vxxrh+P5jO8SAG0M0t1dxk7RX7GswNECuTXDSp/3Ap2unJXn9Riw==","signatures":[{"sig":"MEQCIEFPzgREpjvGukIgQDGj2NR4uYBLLkKiSuwG2FxsYL4uAiAtdYjoe+frW1elsLQEibeU7k3QdZAQp4aFEWjJxJNbJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMyWmCRA9TVsSAnZWagAAFz8P/1heARinIciutQSs+6FE\n0+54JMZhj4c08n/q0KmJN2uyRWomYVmXR5syeGx2pawedRh9r6lQzeP9mdp9\nK6W5coKDuF4wptfazA+WheU6FO8Pb9azu5t5BEo8iY8SOFRfC4lhWl83sxkk\nzAxoSCU/GHQMEYIu0r6duobI9G+AnCC36wIBYgILrpVGWo0/qmGH7flzfsK+\ngZEklY30wOcbTOBLh34K+D35cndo1Um7fxFI4A9ulIuI0ANY6m1dP1oFUFDz\ntCjJqh9NX7iJSHgxA7N5NZBPs1/7r3ITNjQvPUnGtQkxmp8XTM8rOQOoteiD\n+H5XfF3VXuCKUAfkftiAg9BT+Bcgo0g9A/r/LfLq28CgajEugGhLrjLijikT\nRZM9NaIK5YflFyVRjZYpYxW2b9cfVehY5aoKhCPKIoWYfKgv7HK4Dj966Tpm\nEYgINMsymIii9o/FTjC0AjnxDDnMq1SwsB7urj6mbRlk4qPhvkEeTwK5di9A\numawO8bG7+dqftLisOGm7BZuMs67nv+wPQkG+Y5CS1fPMou/NcirOTa6NfgC\nWuzDXguKODZyWw6P4RpU1woG9omM22WS715ylWtiKwvXKVteoatTEdp2xbzr\nPGQd2hDMfxnENlTH0KePNfejj0ME6zVxzQXuy9etzqT8ZO70p9irPFgnKQXq\nLN6X\r\n=8Ibr\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.10.0-rc.20200811.e3d7c37.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.10.0-rc.20200811.e3d7c37/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0-rc.20200811.e3d7c37","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0-rc.20200811.e3d7c37"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0-rc.20200811.e3d7c37_1597187494412_0.8534578179439829","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200812.fedc732":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200812.fedc732","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200812.fedc732","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"dfbae513de98c072a422be8eeb410392b9f3aaa4","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200812.fedc732.tgz","fileCount":111,"integrity":"sha512-hbio16IGoAjCjhZZJV0Uq9U0TpGazkDwK/MxDqBztb+H3o1Py2a5QBAaKBapyJ3zMq83uDaUTUUxPoRxE0ijgA==","signatures":[{"sig":"MEQCIEZSH5fnRXFj3wun83MT+4tZVe6peAcxbLPxN4Z8WIzhAiByQUV5Hbj+mWBaWPYzeVO5MZRSzx0YRmL9+M8CoEjBvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM5ekCRA9TVsSAnZWagAAaZEP/ivu3UFSrUm7i0r/CRv3\nATn/htwGstUUdBCQGrbOLY5EaTGFY4DmkSpisWl0PFeK3pKofGpzyu7fqwf+\nJsJByqdjLuPVjgn/urxf0swCCgQBPPBtgrkz55iU7mdGcdetBB84GVeAYrkA\nr/17fKQL1vYkugntJR8vh2ANfJ0AsdxvFJbynEoAGMXjHVYqsiVbY9NwdFBE\nS4vfFP9dmHc0HGCQTBai1hrqESY9X8TkHzQ91r6TMKUigEiphQ//rdYH+Htk\nruahCv4xHzjq4hA4c0YReNsqTTlwh+VX+UlWoElGs1uTphHKX+HG9c0EUYfr\nHKYiF5gdS8qxFLfBYo+XnVJZayihbwuszzll+3R76MmeFDwQQQAqgblFubly\na6Qrvop/cHe39clEtOKHJA0UXq8sFBuh/MF09bbnwhFuNeOq9P0/tz+vMMTk\nl2ASHc/IhwEq/Wov5+3aXfjO3fRMepOMfzJhlQ10ykQb0ZlYOHDz9reD0P1Q\n5s2xmaJBagSTvps4dwV9iV8/sbVqpeulzIcx3MdEJG8rSYNgwfcXD/v4yF0Q\ni3bcsWMLfBV8YUfvsNwqR81tnPhyVEB1XdYosIkFqUgtlHGk5iZ/VsTtpBE1\n6xkc03Ep3BZoLhzQVmlgWLB+CghbtjueWUTZb1+MxO4n3EGvRdCsIjN5uPeA\nmx2l\r\n=FNkp\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200812.fedc732.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.fedc732/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200812.fedc732","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200812.fedc732"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200812.fedc732_1597216675730_0.3854837100244781","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200812.46ecaa3":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200812.46ecaa3","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200812.46ecaa3","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"57e91f1d94c4845df98fbdfd2795396d35a7f329","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200812.46ecaa3.tgz","fileCount":111,"integrity":"sha512-pnicdQ27bnAaqNB7Lup7aM1mUwXcpKeBiREc35gKPV6tyjl35WKuK3T9LFo6nPOTm4yJH+xhX6QqIzIr335fJw==","signatures":[{"sig":"MEUCICnsEif3AB06QuDkFR9o5sE6vMDdsno+OCW9pnj0e0LeAiEA3dpTHz9HGvJtbR6IvQ3c3acDIyLjHNCEE2JwMC4RYBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNGfRCRA9TVsSAnZWagAAY/IQAIHRz+9YTW/oX6A3Qz+s\nK3SxnHTymrtdM55OAPIy+caeoTfI79Avxx1P66gnb0DUuRWenh1/T/UfcAUX\nmgAu9RNcWcejfdKfidkXkluTxJg3gzvFegLtP4R0F3WnclLQnRljP+8xxLgQ\nj672DY8u0ebkVQSJZn2sZjCEUnnQOjo4FW0KiVXOXsYyBUR2xYSe3czZGmqc\nwo2FXLj/HBXpVHCXwwbLnJ90HU7L0q+nnQUtGWAYEMuYpORPK3vNRSgxLVV5\n6RpUtiwLTvhq7XJ6MMH4BuynD/jtDsDktWUzKP/X/Dkxak9M1a10YXAwnGat\nvutb39EECmcoXb0qXF8Zhqob0RALpCLk0SGLyfokCsG96HAUcTCOcrlXcGY8\nX3HA+TfrwjqVeNPDyDwtjlqTT4EDKYbD8k2qHokJPyM6mkvXamTFSHfNfvoG\nd2j83QcDK9peAa2RvGlmDCo3/1xLan5pF4RtTvTaC2beY4ij0S8qpyLF4uXP\n7aD/wP3oCR9DxU4NPqDySMNClHrYGMO2R8xJFBworyDitSaiLdI6GanxaYeu\nwzXxilC3m9LVNplFXBfeVV5cMuVHGICXMDlxleutJbpBQjW2WsxQEmfkfYXN\n9EY0k43vFVoDy6IZiEC7YY/mHUhqhX5xnm1x3AHU5oqh9V/vi6XG0DkiKjAw\nfuFY\r\n=SfeK\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200812.46ecaa3.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200812.46ecaa3/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200812.46ecaa3","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200812.46ecaa3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200812.46ecaa3_1597269968881_0.34202194573476263","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200813.46ecaa3":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200813.46ecaa3","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200813.46ecaa3","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"390df3ee4ec40d080bb063922f520de9104f5bec","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200813.46ecaa3.tgz","fileCount":111,"integrity":"sha512-kPnMTvl0qGAaofXT021EbIPF2+SuNAe7glk0LN1Z3wrEfBGIBuz1/zxkaPBl/8CKOoUQMPn9PZalhOJWez8REw==","signatures":[{"sig":"MEUCIBnDAQ10m81Fe9TJzgCRQsteRrI8mRM9586945hjBPYfAiEAtLQLbiJKRFCqbPeGlT8IxoEBQXNTq2ZG1w2Lek7CNXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNOmDCRA9TVsSAnZWagAAwpEQAJXq/8WtqvGhPwan7lpc\naRy3LJnwOJ7+IetiA1sTDvLVIWz0kKrxufn+grv03W2cc/Zg58o+A3FPftH3\nNrbz8OhKLXJhF+z5g35j/UqMOC1zangXia/9IAWKW0mCTM6lu2nOv6Q63BVI\nyC39NG4fZM9pi90vZ2JkZGlV91ewVK4mUznv8fifCCwmJOGoI3lLGrgghHj8\nSxV2YoOPi3IOrBMKkGu6rub27OP3cjzvuM/ViUjrpMfjDo8r6m9frMRU5wba\nofqczqecUn6L8YB71pZqxiG941Vet8dVEDuo3SyQCT/oc3bCw4pI7yBqrHA0\nX4w14KYZ/HNKc3mdNR/sw6DiX0hFLC5GrDdDIVT7Bd8zESt21I1KPFsRHYK6\n5QXTQRsoFC+XihuqmwoQ8yHDVxzOlnh/EpEI4etIgboyUV4i2ze8LNuzStLh\nluKWUfc7uvyIT99MuZbRejkY0xeHr+/9wOfCl4/acT8cEgpKx3JMRFVbgJXv\nQHN/niLmq8fXTVsniKF0MO0H2TCkdgmTP9mlH3Zms4e00W8rbwComxXHYXuG\nKk5b4cNPdaTrM7ARNi4yiFEasPwUKMnOZI8xLeWUDdcYM2eguj1rVdTSpRZq\n4WVd1vPR6D71t3EmprBIXGqKb6siGCk5MXJ1XKTMlR018khEmmlVdWcQpFGM\nl7o1\r\n=Z9GG\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200813.46ecaa3.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200813.46ecaa3/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200813.46ecaa3","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200813.46ecaa3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200813.46ecaa3_1597303170819_0.44683406931606107","host":"s3://npm-registry-packages"}},"4.10.0":{"name":"@microsoft/bf-qnamaker","version":"4.10.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"dbc27f2fbd0eddd2195f9ec76c0a757267d296b9","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.0.tgz","fileCount":111,"integrity":"sha512-RqElmnALxw2W87eJpYSU/fhbAjFLiexMULuZLXGHBw9EcM0v4UXfzGuAWmAsTPULkxsAC7r/B2y8TnuLEw2H2w==","signatures":[{"sig":"MEUCIQCcuO+ztracoR0tkGoPrkG57xbWVQae27XZskGJ+PvfNAIgeap7g93Lv+7VXSc35njjS1eWA1GeVLe0I+fXyi5JdW0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNwdTCRA9TVsSAnZWagAAv8MP/2J/10zfvLIADc/WoaCC\nuXw2nl3HH3zVu2UNgNW/4LxiNqg3DI7q/fb5ybHwp/SnD390N/FX5w5YIPgM\n0QSozNGKUKztBYiljfkyhsmIwj4oMNKEXzaxthbN6bGJzEHVEy25xeoF9rrm\n3lad51ujS3GBEsWEBhEGswJfgzTdq6wmFAPiX0CgOf5BuIkYP/hlF91Gcxx1\nAu+JTogrke78pRaEIpzQwI1tpgvjcJc3nvpVmJYhxPZsDuq4te4EfvN6kOtO\nKkM/BpJekMF50RWVvMKdURzdQ10uPFJAS3BAoXbEohZT8bW8BOb/8PWwqqos\nAyphLORmouusvxxS4t5+xTsVWzLDkvKT9yov+26PPRH7LJspipu9snR6wj/v\nMxMdwiuDlnjqn3mxY1JQLp7a2snU+YL1UWjw9ScmGlXWwfYhxPkVKreIRmaa\nxZLQ2OcEQBfvwjXT4RYkoCFYZdtonwOxxraST8AWtFte6iROdvHl9YE2P6yc\nHSeUy7XubpO5mD0dPqNK4NYpk+yImosI48go8STzLLQnK/zuS7j4NlCtSojm\niYrPHZ5+wPhCpzzYVZZf99n57c50sn1EZnblB/fGzwF0vKtgutqD4QbBFZPI\nsL6hMKwdJ4CO7sbqgEdKx35DPRRQaiwR54Nz7aBWmtMZO2swL9CJ2hu961ZK\njg/G\r\n=WA1H\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.10.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.0_1597441875303_0.21898707878902735","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200818.9437cc1":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200818.9437cc1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200818.9437cc1","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"bffec58c17b4a4c339e283a4f226c8da6dae961d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200818.9437cc1.tgz","fileCount":111,"integrity":"sha512-RwfFIPhzbyqVdNzGNemS2wavR4FvFU8gJQOJn0vMEMFH+4G0+yrtL0FYHyx6WyHh8ktYhlw1affzhqm87lwRIA==","signatures":[{"sig":"MEYCIQCKfnf1wVLAN4krvj7yNkOSBFRgEGXctnsa0hQWuomrFQIhAKFZ+kIav5hspTEUxI9CJqFITuAwV6ObCxRjpGRdWHLi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfO4CVCRA9TVsSAnZWagAArMAQAJKYGlkobjIPJV/1M6at\nFh5iZY4xCvBExPlbCYDvyGUB45c/G1/gmPxJpD/f4VAhjWjkmHz2oSTDubPv\nU5IQ3NK5kRNUBRPKQbDv9FLypujHyF7g4GbV2PsYS9T9F45KCcszbvtxI7KX\nDWvEnM4apemePTOBeIP1KI/qDyRv8yO8B8ciIrx9W0O78qdVRwU3LoSKe2Q5\nh2LJgWwznyXAaLjvnXohxtMdp0zDoaOzCg69tta2JSB7vBqoZ3YyNby6fgPr\nw8aQYyabSa3OglnYSRX6JGZaATKnFrPZOOT4pEzEoYBibLA3lAUm2lBq+4nB\nxjRtHVXxt8nC+iC/VMsEUJXPkWfp7RyS6Kv0LCz6WEhs+pprA7m2S6WfNyHp\nBxzemzAUV1ADbtJ37GV6ECFscsaDvrpUONj7NVWS8JMD931ZRqSEb3OUKrKx\nvZSQntkGtr9hQZMXmG+sSQB7v3MTQJwUZqvOY4GLqlEEsIk3WwjTyaZXFMxO\n8Q5FVTTynj4mWazETz6AnfYjD045/HVC0nn8potoQQ7CuAhH13WPKTpKEMY2\nJ5K1SjbrfTV8JwisOXRSt2oBXpaWnSZTCVrBunu9UWvcv1TBvASMb6xIO58c\nmSYht65fJZPqXi93GWwGC3RyHmFrbsa6cM3nBj2RGdUpdZbwxKBDckrPna2z\nnxLS\r\n=CvF+\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200818.9437cc1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.9437cc1/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200818.9437cc1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200818.9437cc1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200818.9437cc1_1597735061284_0.02572328547440894","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200818.1c4ddb8":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200818.1c4ddb8","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200818.1c4ddb8","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d1f16f2c6f67cda0e3d171fa9c73375a432fda29","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200818.1c4ddb8.tgz","fileCount":111,"integrity":"sha512-UBX1tZmz3ktQJ+TBQKb+BFVDaYRB7XIyTKYUVds62xLdr3izEy+I6JZSUm31yknXMJMKhUSkg2WNpjZmG3tZVA==","signatures":[{"sig":"MEUCIQDTWA79jBmQro3OpVjCDomJaTz2khto8ocGW7gG5g1HxgIgPIkXl/NoS01/VCRNPUy2KiMet5D/K6495vVV6RPDDZo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPDQ4CRA9TVsSAnZWagAA3/AQAIVNHnwH1Ks/S3EUoO33\neIrXBFmGT4XEQhqCUiFyl1uZ5+9hwTe4lXzrlf2cw8m14xqbm0/4dlAb5xh6\nbllI984xilTc5Bvm1cYwrOYJdEc61ur8/zK5sx065ecswEl4rld8kzuYDwol\nADuZBKSKHEJgv9d/T+o5VbgN/6HL+6NYZOTHLmR5EekmzMAXVp0MIhQ3W0oo\nDXjYfQoAIsVl35MinWDpI+Zz7FB19fB0C9dk1McGxCrvPoEXPG4qOK+CgdYe\nWfzbNVg3iKRcA3sBAYoVDSvi1mU0gxxk6QeABRXHyLmFAsxCAxIRW0puQaKA\n9BeA151a7Cmfrm1LtCd2QyZSpdaI6hY+rMlFDP6stc4i/4wevafGGzUE2Ukw\nT8NNqCUIBFnElk4/fgiYljLKLDhUOMTLBGtHbVf653yImYUuchfDIQsbnNOT\n5ya8yI1xfOVdldEc0ma8PipNW82dmxtbOMAotMNg7K1/NY0gKltF11gcsLSb\ntHYFJCzsz78o4L9wG3M6uj9AOOvGWAOJz9XFx7XkfkqEvicBb3i7XiK9b1+C\nFtBuZdd7Fqx65nQW88FfQdyJ9txGEvWqDf1riZ3E74qKAdpBzTHHvAobiMF2\nlbUGi8UhlmDdPGOkF2sn4CiCymaw7XLzRjSHrxUFTUp378DdcTtAnhVNgWPZ\nSfYh\r\n=EIbP\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200818.1c4ddb8.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200818.1c4ddb8/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200818.1c4ddb8","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200818.1c4ddb8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200818.1c4ddb8_1597781047464_0.8545099778483283","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200819.1c4ddb8":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200819.1c4ddb8","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200819.1c4ddb8","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ad3a3c3e8a1fb96e2407b84fee0734f4b1f3b459","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200819.1c4ddb8.tgz","fileCount":111,"integrity":"sha512-uJ1GDV6a8hKrVG3z5nnpSZSzHpMu6gws27M7T181nXc1POglDMEiWYB9QMRrJhuBjsHYb9BI4QcDlCV8SQl+Dw==","signatures":[{"sig":"MEUCIGaaYRHoYn0bMvPVwlvxLhRWA9EakAH3w6l6JTADwtb7AiEA883mpCs2AnqSvXOzm/k++pNjVNjqBtYlv8v/c8iwYNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPNHwCRA9TVsSAnZWagAAeocP/j5XnGPmwC/vpIdift0L\nwmWE2cNG4HEwwy2zQAg/6YxDIoWTK8n/fW4jMUitFuE3H3JHijRnN5utjwo1\nvfw6MvyHyGkfmnMP5/XOvzpxP2Mm8Z2RyY09dc01L5OnEd38s8Hp4SScTZv/\noG985pO3HeolqvVMqIpLXwctxFMtnOqjgJUsLl5UhRjmGNeBQ8tcRN8jT6Mf\njJvDl1TBhKgkU034h2/SJ4B4tXysM9kOW15zDqajUsGly5deMxVhKbXujgeG\n25SNARJYtvG8DII1CB9r7+DO/6baJtOCR+D7xXw57qRkuJ3cWEDZu9ajLud3\n5qTEImAZO2Syr86lySDWjlz2ZeHu6v76i43bCRlVOAlwm2Jf1WxtvKeCXdAt\nxg8LZGRr81Tok7ny7B+iVISVNzhXMCsGsamE7VC0TiuTUdCYnwGesrBFwJ7+\n8dQ3Qw9jaF6BkQtAWlIRLgK3WwnzdWmhL61Mbv4GN7fJ562L/4fCbmrX1rhk\niXQ4MLPh+8DWl2PtPP7muePY5wYoc9cTiTQwWR5FSE2mfIea8HJxMUtQPDLY\ncWzG1eff8J84ZIkeh9kX7UU/swGX7fehVYxcqtoJN1pANP9YjfH0d57l8qaM\nfqWrkyKlsSoOERlzyJmpBKn+0sG3yxpcX9M/6Y/92ihuyKGpi0TLox9UHrkJ\nKYF9\r\n=2xTW\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200819.1c4ddb8.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200819.1c4ddb8/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200819.1c4ddb8","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200819.1c4ddb8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200819.1c4ddb8_1597821424218_0.13756434951178131","host":"s3://npm-registry-packages"}},"4.10.1":{"name":"@microsoft/bf-qnamaker","version":"4.10.1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.10.1","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1aba9afc2e0f7a94d974da7475452037ae642910","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.10.1.tgz","fileCount":111,"integrity":"sha512-i0Ky+eykfgmWRywgD0Hh3QJEQg+FnZPfA5uTUvx0egN8kV9zpvQf/7t6t185ezbYEcy7vRFK4fPyWOMN3P2nIA==","signatures":[{"sig":"MEUCIQCw4mMgHRu7SHTkqumQn2gIlYpPmT6tbS0Xa1YBDEOJ1AIgMDL4wpQ01bfV06tU5vB/50GVIUy3yYbEhO77/yX5kFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPWxlCRA9TVsSAnZWagAAB3AP/3rSDxTno1MN4fyUHQ0v\nvGoMU6DnFoIl8CUGSzCyMCtEKixxoMMuZvDr8ikBhdHB3Otg4kWnqHF7vm8B\ntJrmbRtb4BRVv0Al1TXHiykDiC763tu17OtJeM1Aeo1iz37VeBgb+o6fbq9z\nkU/Fw/OCyzVR8ia6aKTeF+jC2r2BJMaeo8v+FlkBU4YsfBqcnnlqIPnJ16SP\nC9uw+KD1GA7eMZarWhrLk0gBoc1wZwoesOKmyMzp6ObsjVNLtCSI2EC2qvre\nwNscCclPDPUAtBJIXSWkf4keCoQN5Ubi4S73P86CMAxJIK7Xss29wddWLDL6\nLffUvwH8ytmUG8F9BIqyCRWt1qU4j71UlLfh5YrA2QdI8QJg8jR3mT7wz5c7\nPTfsg7888HUFjqBDkFTM1dzC7sFyU2FL/jTtL9DkERbaKjLiMOKs+3QQOqeZ\nWmZMT7mawu6+IYXtJd8AI0eYbcRF9BVhkHHIml84uTdYsrLcUp5cfk5ivRec\n60ZrPOATp4NQy8UdZOm1IZoVl4owH69+v6V9RxkjPElg07tp9KHP9F50hQdR\neNsTqI//eKh27norn3lEMkoBlp9fLbJgzNjduHCOq95FiFuQZj/at2rVh+e6\nPMajSdL2wpvn+fWLJxPcEmwVmhslz/srJaoGjoZ3EfWKzWcf15uy966xqDIa\nZ3na\r\n=C/C7\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.10.1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.10.1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.10.1_1597860965034_0.6205277252577448","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200821.de66343":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200821.de66343","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200821.de66343","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c4128315d37dc928755e8c6b532ac5faa3b69316","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200821.de66343.tgz","fileCount":111,"integrity":"sha512-AMXoKhQP/FSSnjeusrJvFm4d82ar+xwF67M6tDL7jEIKWG+xLOEoL9PlhqnqINW6n2xZzi3NMq5lE/CXgQnuIw==","signatures":[{"sig":"MEUCIQDecDtjSgQro23Phm3n7GBrDo2VwgsO5k6vVwWFVlMSIwIgbUdPzq4eg0DXuMl9FaMJbxLkpOOewH7NlOKiCSzMs4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQASHCRA9TVsSAnZWagAAVA4P/1oLW3qqiWykzApLnvPu\nddMBbc8hZpPgAjbLXnGwngClGwbzoUJLMW0NBPcIIV1sR0hjp20qkFrItWHM\nJJoIIqBR1YYkuys6hqnIvNq+OClallgBMp6U2mWhAV8geD/e3s19v+9tX9gp\nKE5uAntIQbrw2bFGXS890ZB9IQjFcnSop9a2MHhAb6povEo8H0tJfBPa2jrN\nYs+dk2tCQmTNQYZwJsYTM8bYS3K3fvBZZorgqyPy9ezXKv0/JM2o63DWlPvO\nuvAIcBl3fUsk6tElgulTWe+3NLRFLLCjwxcV61ACGwrAdJvews+ja5JqU5gi\nyfMGXMBtQAgA81uHSh7uu2lybNzNSlofhAG88MozPyyHlL4n0guLYXNXvLC9\nU8KS3BECMWGk07CYt7PqJxrVYChP2TESitcnU24dt86YSHnxYb0y9p+tZh85\n46UBoL/+n2jD2qCddlSSgxcXvowx9iBqbMqNEh5DFbk8fm+Smjmu8xauhdwG\nKOJQjvtVZkHVH7lyDftfRxlZLfnMIhAoYgUhYOZPNVKmbyT8ZiUpu1ssuwHO\nIUnu0X/WewNrJbg9iPqN2VAkBeCpEbdc+tf2ptAVi9nqxa1sfgbj1x7eMSoO\nS6aXZVdPxpi64F+DpbaGmo3i6M6wCOY6Edv3Rag7CJnVDcmlORaHaud7pmpA\n98tJ\r\n=jqUW\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200821.de66343.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200821.de66343/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200821.de66343","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200821.de66343"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200821.de66343_1598030982840_0.5136525851323368","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200824.de66343":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200824.de66343","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200824.de66343","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"a9305c5d39c434d6b54b2c14e22d28199d70e0cb","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200824.de66343.tgz","fileCount":111,"integrity":"sha512-YRxMGbBGNW9wXVgKob0BvGoB8781M+x2OkNYm7jrEEeFLjVJokR41gQfpJwzMZHLBFmPMtudPVVA9Ph79he9NQ==","signatures":[{"sig":"MEYCIQD1C6xw8yXfqzRyU0zohcbcrP0XKDkPOgr/8BLeVF7aeQIhAOiOwFVtV6xrh3jKuJP2oRStYu2Bjbm5GSqPgnx+ZCtN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQwdMCRA9TVsSAnZWagAA+K0P/RWWttJnLbPTQ6IT+2Wp\nHahjn65xBW/w1hQ60pTwoiK7oJfQldmfUZj8XRJPBOLxQZ38trmdxIN9/DgF\nQfs4W5eXPY7GtUmHE8J8h2GTyaQAy/EZrNnJZBVMEbqr3TAbPTEjR7g8FK0C\nnVMUmfm1UIDVacLcG5CcfQ29g3T5W3Ve/YYGAjU/n/GRyrm3Th3US/T/LUr6\nB6FNw4v7yQ4rImUQn15ee7PulWt4hCXG04yx6V36UiNEpoZ0RTUMNsPEnEuJ\nnxESPi2dDw/FULiAoPQ6eCKL1uKzkvp7nNJmSxXTVmtNJm7pY5RuCqMy2DU4\nV9Wi0SZwb7KBAmbQoJy2D8cbeWUs+oxjpSObKnY/PnLgmuneHurSz/z6Stn9\nJffCVmh3g6GI9tdjKL8DhX17Muh96wbNDYK/4Y1sibeYPeKVarBBVprI8Ujj\nQlE88WckccB67xUoMSfIGvrvd9LwsAAra9z2LBeP88Y3Pg7vsmblPZyvyWfW\niFs/LLWGoBoyyCulsmLVZ2qx/i7m8uLoy1hgZZgByZsd6EfDb/emPRJlp9DD\n3niIYvntgFOmvWhCApJhsb2kdjHIx72IShOv/75bxdY4Je6cSt9SyIQ0a+y3\nPo5uTIPanimG2hrAm9B6edQ5LTGRVM9jE2zZZyASJhMnyJ494ZO/JXGVM2Nh\nAQJ0\r\n=XHsX\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200824.de66343.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200824.de66343/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200824.de66343","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200824.de66343"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200824.de66343_1598228300278_0.06208328955967857","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200826.65eff66":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200826.65eff66","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200826.65eff66","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"45a46283129674c0848e72c145eb20067cd1ff0a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200826.65eff66.tgz","fileCount":111,"integrity":"sha512-FiCLAhrsu13Dy/bY33ooEmFu0Su7WZPre8ZJMYSCJUr0cbNqa7McXeW4kkovev1/VGjAoeiR+6d0dRBUdeHMrA==","signatures":[{"sig":"MEUCIQC7pR4Y3QFLaeDzoc2c1Yg7IcuOGvHRVBCDNYkXkWne6AIgHMT9fAVjvJnJhfwLHh3YyUrqzzLrd4+mNgINdFTii5Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRg0TCRA9TVsSAnZWagAAHhkQAKErUloyrY6w2AsgCixY\nqLnktqStxK1wACglAGX6dp3Q2aaVx0xCvln9QNwGBhYHW2GuCthnrHpM/HP0\nGX99z+7aL1qGi44AoWDwi6x4yZZcc4wVtoivMYda1nzeXIt+A9eqXtOz/s8w\n+yoW0Q5b+HnkXGqCezzSty+IWlWO4Pfjfyaw+CazeqQzmBNJOp3DdrG09l3l\nl03M5xmehzaXSN/H9THhIjDRE58qY9Da/rQDZQC/st0KxQA8zcNONJrjgqOL\nnAj7GuAg+jA7dvnMf5d/6cXkyts6Rkk9VNjsGYgAvkM4+vsaR94io+5X3rbS\n4dx/TvNb9DqwXh7JZ2idyyHqdNNokXI6vUd+uD5nqxKA5g9LrQSALbgGCScC\n6BZy563zhfFX9Z7ckNza0i9fa+a9RR9BnrBM1oeMPsTvK/oexF/fkZ6xcCN7\nPs6QCGhUMfcWPzYby3C6OaGV2KljlBkv5KznjHDRyTyiW+xXi6+UlpMYHdw9\n4icGP3Q8fR1p725VisEuXDVu6Nsk2NOLSgaFzEil9A4eaJo1Fc5P0J5DhYUx\nh0DRATO2YtRM4b7iQQMwiz2NO88yoSqZn5Ld9Y1pJ3Vqx9jYiM5hcrho0/30\n5Q5Nt++byaivFburY0op2rNbRQWAApjswUkD5LRKiTfRCHwbPc6OgW5M97cs\nI0Et\r\n=vmnw\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200826.65eff66.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200826.65eff66/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200826.65eff66","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200826.65eff66"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200826.65eff66_1598426386730_0.9262039610207993","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200827.d5b17d9":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200827.d5b17d9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200827.d5b17d9","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c8a7597cdda8913df8431a3b817dcb173e53d633","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200827.d5b17d9.tgz","fileCount":111,"integrity":"sha512-8bhya7SDFSFA+4ETmnEirWs89RuKNnpNUdGPAs6zsi7wOMYRXVHd8Gyjo29hXHE5yGdi0R4x0QqTBh2GvjEMOg==","signatures":[{"sig":"MEUCIGv9e442iNTk9PlUcb25Jq9tON3AVxvqz0Rf7quy4K7aAiEA6IXNwbaaJuZ14trY6ymr25Y8z9Fjm4MfA8Xvww2CLYs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR134CRA9TVsSAnZWagAA2zIP/2Gbl08U5ENeUJFty2hl\njLdCBXSUNa0uAwj9TdzudJKGBeFvbTK6MhBWv361TQY2A8c3OtC7L75kqkac\nSbOYxcYjMSwz/xBZDFjgpuDyTlQvjN3gZJp1+0fTOvLlGfL0oowPoFJFSlS9\n6JQqlzIHyncj0djedMAGNcwrC6SeadsstEGBbN+7NcpugJ3ajxVSX5u94EWh\nZHsGL8dOpq3LZg9Nw2dbExQ3KTR81W+elfpLfxWDKZaou76wJ3ymgICLYr1z\nh8vMu2tSbtiNh3GSLN9IB/laoWNvbSZTegSofeOpgXs9CW8PEAb9RGR4VpXh\ntALNrOus6WlzaaHEBVTlSkNbDSL3909c4MFyDejcWaZimMZU6bsd46iQDsMc\n4ZsKGMmTJLaSfsPyyLUapanKaqKxcla19d9gCXiQaA19Ac738jheJ6Yp7DKe\nigFSFvjPNHMRjgugEoa+dqvOqxR7SBZnej3NjAhTw0dIyCm15bnz/NNdrkrF\n+u5pUcKddv878CiyjDqQpF/bSdGTSM6HbgWPdN+3KUPa8NtDhdUI2Ez1cM4M\nWe0z+h4PZsWlAJ9Vk1QpXgw9o/5f5u8lHqf88jbVbxyI3z1f5K4DhyI91PKj\nepZ6YjxZUxB/bFjbclm/eruj4fhewzJN8hN6qksZB7T04/TwV2fOD3A6C8So\nfvna\r\n=7+n7\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200827.d5b17d9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200827.d5b17d9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200827.d5b17d9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200827.d5b17d9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200827.d5b17d9_1598512632142_0.617827625656368","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200831.d7b6149":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200831.d7b6149","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200831.d7b6149","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"25c880c19830ba08233d1c3c03cb4b640f4e4464","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200831.d7b6149.tgz","fileCount":111,"integrity":"sha512-rUovoNuMVG05hyh+5tIE+Gfa5f4PkVvg8U4hlrLNSSvYow4dJDYomtlLWEavXpRcWQVbfCKxG0kwWYKsaqB7tw==","signatures":[{"sig":"MEUCIQDTNv4WtiHJOJMj4FYdQiRkEIwgdM/13V5tra1KNbZpDwIgdfDR8MT2usVp+51jYWJROSFvvlEk7XYCdH7V07JHv90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTKP+CRA9TVsSAnZWagAA07MP/1t411V6m3GQuRXJ+9id\n/SWl9GiAZ5536ucbVpdYli1ZBJjFiZ/lUWGumZTtqbAbg613lSTxMlPLzRpe\nty/lV9BdsIsB/wzkSbnCXUWxRMz9tCL+oGbsljzdVBeO3YIRZ1tcvFChtShN\n6m5FMq6PJdD+f70hTOwoQ7PSVwyFcLeUT2iloxrwDWv0yKctjJmEqfYd1UbD\nQQkEhBkkBIbGbCIlHbAdi7xc0PtPesKDSVVf23lbEEk0np746S4ypXYgD2Va\nd2SyimvbsUr4rI3Zd6UvPBjR6tAl+klTqE6Lg8tLp2svC0qS91MLRgzixjR+\nOEYoZ5Tq1gTieGtzeDwK1z0GTGvtIiV191WF3BD/wT2Ix+1N6JhIskko2kFP\nH+i6oi/Zj+WXa8f2OtcUVnvajv87LvjzgsKirICIpifaEv10M/HqiILOtZ4J\nnYm/kqYVVV6zvV4NBiQlwjWPPsHY6hUFQ36Qyv39Y2PuWnY4FGVjEN5zysNN\nDj/bcPUPLhRCuKDqiqTKT0Gb6AeiG2dzwpHZm/wV3QdmCgL780nKB9e7aJqu\nvN3e9Bz/5CyBnk8q6yUW2ftkiGK3mAomwawwBI6Ea3VpmNL+h7VW27nMqker\nzSZv+lY8icr8cN9dr6hH+4cVIcT3b3jqPNAYRYS91xWEcOeCI9rvWPgTWmDV\nYJ7y\r\n=0z8W\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200831.d7b6149.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200831.d7b6149/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200831.d7b6149","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200831.d7b6149"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200831.d7b6149_1598858238325_0.2649806373675969","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200904.ed789e7":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200904.ed789e7","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200904.ed789e7","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"adbcf051beea8cb91e27e48063d2756212806475","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200904.ed789e7.tgz","fileCount":111,"integrity":"sha512-QiDeYK4ljzxqCrbIlHwzMiIoOQuRzhp3uJs6zXzx/CoHRThVMUKbnaZbQmdIiESab8Wqa2AldBOLZc5ecA12/w==","signatures":[{"sig":"MEYCIQDM7INKnsFYt5wDuTQZqdU9n6sSsmo8q7lCqALrFSLGFAIhAKAoWPzH4sI23Q/3bpPozcKR01LF03l3j1mIzucAMR7v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUen4CRA9TVsSAnZWagAAccsQAJdoZZ7tBSvJo3cQ0Y1P\nBW7K74K5+FtWUyf+BvuX/RcJvpZDEbIBsalqa2bypT9D3z9RybAiZf7fU4Ry\nUpSyoXeHSMxhYoYWsvF1qYo47D1UMSelmr7Df9D01xIhWicci0IP7wOYP1po\nKXs896IveT0uEK9YNhjBVxnMKzocOAp6desU5lXzQzV19jgbZGFfqp7z9lEd\n40nxDxr955FC7PZDZRCE42cJrezRGvS7Oee3NZvtczSXk8LSDiPl+tUH64Zt\nvGiRN7VyShUCjhXr6TmlAuA7dHNnO0ZZIRIBL7EE22Um11upksO9dnrnLb8n\n2GY7Mlf4PRVzS2iEsiOVFm0xK7LHGOgUwLjeFKfE0y7s9+tHUHg8WbQyN145\nADg+ntF7Vr7e5IVX0uKbH0t151WEIT92tutUA2CGHC1jWwcFX6kGpAVMDrZ3\ntm0z6jCX1+ArohqbczYrF9dSX0g2kGrYls85Y0+HlTgCWk9GDXYvcB8PU/6u\nXvHeXBvgCX6DajT5zrjVxNo2DkKTxfuWc54ul6mdmDm8u9BoX7SnpcPzv99J\nJ09JcoGh2pP6yymLpkOZ5SW/8loy5wJagWu058UZpgCPAsKeh7sU2RMNmYI9\nT6/CQ7EXT+CrFiiwGsOqlcWqAus1j55+9c690S6ow6tHbRXLQglD1H+F92P9\nuG8l\r\n=iwWH\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200904.ed789e7.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200904.ed789e7/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200904.ed789e7","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200904.ed789e7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200904.ed789e7_1599203831840_0.19948419654266947","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200907.c063415":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200907.c063415","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200907.c063415","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0f6080048be2982aa4e0ee9b4c1fed17b7c4f72a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200907.c063415.tgz","fileCount":111,"integrity":"sha512-XmhzU1ui8mwR/VERBoVyivkhHDiZoAhejxWmYPmKHN6yyaWNVMJEIaz8NmMv7k6J81aYHvbMjQIk+LilVuRfxw==","signatures":[{"sig":"MEUCIGN33vwL+ERJOnwlOW+z4fZ+n2JmQfpZ+IEkDUSyIaD1AiEAgU249UR0yKGMBouEDqfw1t3dOsu6FWJCUSoe357LtMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVd6DCRA9TVsSAnZWagAAXH8QAIfBY7hGnyG0gSEs8A2d\nd5rLLhB5/LeK0w++tUGCks+82ZgS9S4tKF1llakypd41PveI8ayyefVE8b1W\nCvXP1W5TH3Yfs5ToWxBfkkXWOb6S+2YxXcUT+BUPN8AKtpD8Efm93nHsxG6v\nzZwJzS5bxR6xsv5BXJ84geWSmzhwfjtGqO6i8UDZtUe+KFzMEcD394Vrwwtd\nTEDgvANCUZ2xnVk1ij0jx7NFPrr1j0DCIt40q6RhZ/Hg5rEihPYsXnfxgfQJ\ntpANkQyHywLMVuOwiz/2MAPrLJFidbZggpcs5Hgp2bX3HGEMefojLpkYPZdm\nNWQtTQnVlUrpmnXor2SD8mKNKdNKAcxY1vksVVjZ8215GZ440TSgRo+QxGy2\nUbAVDu54BvKLv//3eDmJWf1vSmppKrUlDwzdr8S2QXXvPfVZFNNQaAsOw7Ht\nTXP07Bg95CBGdup5v4Pp/DUOSGZSDvTYh7Z2yWXclZFS+UCiKYZuNuFbZZdy\nh2gZNXi8ecUEoKCbcXfZszLfYPsz5l+E8nCzbXvrSX3cIwDPZxE+jQJoqYOZ\nz6Pn/i4bRnVS8rwr2NWlfPn5rWKEDxSAww7+lYngK9ZFftyvPHPPFWUBpf7U\nmaWbz1/Q4loRAq5qXRy0RpagqKyDCsQXdrFETfPsAwMIj2+iDyqpxI2ITfuG\nB+nC\r\n=2ojB\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200907.c063415.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200907.c063415/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200907.c063415","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200907.c063415"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200907.c063415_1599463043052_0.09405922612426743","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200911.7d6ad59":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200911.7d6ad59","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200911.7d6ad59","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1c1049866650f0945063c4a48c8d534905b8b4fb","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200911.7d6ad59.tgz","fileCount":111,"integrity":"sha512-P08yTe733YQmt3atUzzg9RCHRrk/75vDHaX/iDS2omNWNu00cG39JOaFH5a4NxcLc/F0h+AhPEixWF3TLgfCUA==","signatures":[{"sig":"MEQCIGiUEuIJzrTCnuvlSykNnij4QOGqAVU7GmuTi4ECnf9KAiB/2RaFVvcQ0+zvtIvJn5C5r71tB/csuZAjWuFdI3RCvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWyTJCRA9TVsSAnZWagAAcvQP/1jQLSXvAvzjlyuR70Kr\nwJHJhkOC4xwQEzNjbDie0fEkccQbuSy7yRA1eu6GUPHnJFOEdSZ0yWy0Zx8s\neMhdWGXijLkGAAhdu+Gco28O/cmdkZ2SBr/mPTTsX0rGjLIZZKxvmdemoXSD\nYbBVnnbEdE5gtpD6+1oBgDH5Oc7qgQHgLWk2vphq8neiy8Ft7L7IgfFq2xc7\nc9HMfyOjDu9dpTDN7y+QO7SOBgzjFOqTS004ERC+hDP56jMeDooQpAg0+moU\nDtcUJD3kvmLK1oLO3+TyTO0vrjxxDe8DuxU1FTjxOzLt/oHvXzJf7AeUl/98\n34T+X/pruX+9Nx8w+VqHZBnTWY0E01obxeriAiPidLtTDNpbVX+9KRh/9+db\njhTUPXy6tkyCs2DlPcKnmefntHWGLrQD/m2S5CjW+5L8hFhqQbxU93NRlhUh\n+P8A6iac7J/3QjDYXs8wnMnKs8WIEevPa90T9yi8mme9Lh4MFTnw18G19kE9\nENc5KG0AW+GAl9rjsTfYRQsA1n9CaNhYG+pB7jUkThmF3MPtfuhsgVjUP5dd\nXuYCZ+jLQrInLiD7CgtnORuM8OO/Z9ILGONQGn0g/pWWs7Vn8/Sim8MtOvy9\nPwSgtRqoQn3cQ35nXnW6QGVgBfx5ZxiyJI1UmZR2Ncl/bZ7UnGp+pSt8v3Vo\n1NDM\r\n=jhGW\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200911.7d6ad59.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.7d6ad59/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200911.7d6ad59","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200911.7d6ad59"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200911.7d6ad59_1599808712923_0.3168159669093731","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200911.c8afdcc":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200911.c8afdcc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200911.c8afdcc","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"19fa52606fc9a3f4bfb0d9fc8a241ac5c1593b6d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200911.c8afdcc.tgz","fileCount":111,"integrity":"sha512-6YGxBNhMz3Zdi/7pM5gtgJDaigaauD9G8Ddblg92MOyHaXJzMKXFuSs+Ey6kCOaigBaRDxburo7oLdp34YxN0w==","signatures":[{"sig":"MEUCIH2vBDyruoOgrAfwfC7mTzTCveGZnMowY9CQkmuNatKBAiEAiO72m96DtpAZJ9YcgKLzsIjZMse325FCn5I4G194r0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW9LzCRA9TVsSAnZWagAAJGAP/29oxg6pDeqDky1bCxvW\nHGjvOQbfx/lkFprG9NAGsJtGFSRYLn1IkJsukk/9WS9z3UBqYkcYAiaN+6FO\n7xvLbPoAaqgK1e7w5DL29lg+adaS8sl6lBcuOXoZx8sPFMaYpFlMB2OGS8Jb\nAGswl6R7nCVFD91RDDoJC1ICd8ZM4D7q9rAj7oSvnfhnuiqg0SBol02ntBdD\nTM8xciw4L9j3CDRU3SCWsfmcIlqg93SheNCziI9Pnis1s7U4KXRwh4/wpOXC\n5tYzQN7Q4J/+pilcNdtGVffYv+fvc6BpDHbnGigaY8w8UEzwOD80Qm72fC9W\njoLt3x+yYdCkeKjc99b4D5SCUg84Kpbpf/Fci8hoAYu6kONge+8LwrXPB9nw\nnQajwHvOP7DtbpbDBSWFn3m3AnCZHMBOxFgVW5+9heCBWGIVKdS7A1LAI5We\nyPdF9UTqbSFuB+vbH2eN303azjFj0qJ/X6wByhMeyIOYYeRwmqxQXsxv9owb\nS2nfs95LvV+hPWyz26mZggKp0QyIcAuUrqNAtVe5ZNTNTCuFAIjeJgnI5ulf\nglXtqoOme0P9wfFS3oOjNgPRLDGYUoWp8U4O5qyRyTsN/6MVO+RygmzgNXRp\nVtEV/4lkZLeNb4oFmqjHrmi0phgmx8gwYy6/JVUVsabUqJYnDmA+DHdK4CCu\nM/wP\r\n=v16n\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200911.c8afdcc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200911.c8afdcc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200911.c8afdcc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200911.c8afdcc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200911.c8afdcc_1599853299024_0.9456666464993435","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200914.c8afdcc":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200914.c8afdcc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200914.c8afdcc","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d1742782b4dbe405f7123248e16e777b02f1458e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200914.c8afdcc.tgz","fileCount":111,"integrity":"sha512-0B6TjzXor6OfY5XbIpn++ANXJrReus48i1qG0JW5rWcmiT9i0tfL3zaG1TJd8Zk/Xhrb5iA8kyBJYN4MzIHfeg==","signatures":[{"sig":"MEYCIQDVGS3S8/Br8QQCMaGhqoaQj+WFCIpzCumEpBby3iLQ0AIhAICEVpTMlX9QuubpHNh/CKovrgVlWHXzfgIRL/oGKg8s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX5JRCRA9TVsSAnZWagAAPkwQAIiBSuR0x5kbRuu1CoS9\naflXYAansW9mP2D2b5WdTyRv6tlgJu3etIdfC5ZrpVRxhCyzZNwqlJu037XM\nkCZLHCCv+d9WRZqGprPXZ3szLjdIeFqKFi9pFSQE/Ran4uT3l+g86MrcFJbQ\n9eIQOvrW5KY7E/h5YMJlPV0SmMOdU4Xi9pMYTfLNNH3NXNzk6oqgZy5N0vgk\nGUJYX3CleK3oj6MJk8ar+vlTpdWRzqH1NfzBxA14EkebUQwB2rM4TJJBjzXx\nEMHxoVHSCBuRVbPabpL8r5jpCb5L6Hl6Qc2bbNiwR2ecTwh/taPRBUMJCeto\n10E5hWfGwpDcum53LesZxnUkxvfoSZ2xUzuzjSorvTKRoGd9ro19JJpUoDRP\ne8unzPpMtrSpPLZFybeVlxWJ6vCc9SMufQgDyin6T+9V+btfIA0pwczK3811\nZk54Pj+rcYsbiKn6kBlkFY6K3xf9T9SnsvCQtcEbB+xYKAYbhabe6PUAoKs3\nZtddA6yT33XeoUd4WW49Fjj3MHK8IHqXQ7Fb397tpGmz4PdBYauouxwfNcfl\n/4gQcAWxJ7k2452TAelQcVsHVyzFRCEJECdp94uqu2tlZsz2Hke2wbUrjmf/\nhnoRKUDrNQAwDHU8VTxczs9I4GNRKUmLYDy3/Ncjb3lU81OB73/BCTHViDLg\ntWbM\r\n=LXqR\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200914.c8afdcc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200914.c8afdcc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200914.c8afdcc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200914.c8afdcc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200914.c8afdcc_1600098897027_0.5813476420777814","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200916.4f7c793":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200916.4f7c793","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200916.4f7c793","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"6cd5e1f2b62d0e9515b29e152b2fbd8f42ddf664","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200916.4f7c793.tgz","fileCount":111,"integrity":"sha512-Yxqx/FSAuum5RVsO1xlPaaoiUpGkUsbQN9Aat/ENKB0WQ+BcyGO4Z+X6MdFmNOEAkR/Jknl5B8fiE8mYLsUbtw==","signatures":[{"sig":"MEUCIQDpTX4M3jvnCaaYvDNtj4vQFe1KnrFJFdatnhs1/EbWbAIgXyPl9DbcojkusZIvlk1IP7i8y3DKiRwbbKYVZKvd234=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYbwnCRA9TVsSAnZWagAA+IQQAJcJDRam0kkzV6j01JUz\nOzmTU3zuC+PimYUCj8/Dj/qdxs3iX1nx3NLQq1yxgDfunPerD4cPvfwlugp2\n6lSMtQnBw0s8FV91GAGKJW/fEEbqKosZX2a27U0cmEDI8xe4h8OmtiGe91Y2\noNevUAkrf+ltBCcyR/0H8L15PSeESiZw1a2WZPam0e/zvG7Ui5iUHRby70Gw\neB2Sltqo27c+UrW9TvcHXMobg4UQjMtNPKbyYknloqA/K0JGLJdkTttyHeJc\n/wCcLD45/nO808hKAEZ1KbDNCPb6WfcRa2uPmJ2sczDjTOcf+xhYqSWqH8uB\nYsa1H40wkBL6kzrupL+L7VtrJmRfcQLuASAvo0zZGdTLFliF+BPYh7xAuyg7\nnZz6JHj4DD+zjqpFjPo8f4dpqfHEUMOV203JPZUNHu+bUjfxddWhQf6uLJKH\nGNZiT2tT5MKxEBsUgS/0EIomt84zFgn5Oc3XaOxESyW+BI0Cj6PMCB0elGAG\noWpGGOo24E3zeuHqx9RTeVL4mFAbUpq3OnK5XBAllWC4JXM/7sPpDjDXHvN6\natbiUldn2P00bd/kjmanmspjFWQWBzXiefLh8zVirGeK8Dj9ayc8Gr1cVDfk\nPXKkzkIjDVg3b9YjOGvV9aX8GPu4RALR8HA+Z63AXt+t9/Uj2gLb8kdG6g2C\nH6m+\r\n=Px2X\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200916.4f7c793.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200916.4f7c793/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200916.4f7c793","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200916.4f7c793"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200916.4f7c793_1600240678550_0.7760902181601008","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200917.ec30167":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200917.ec30167","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200917.ec30167","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8e78f058b848913546aa95cdbc9b7555c5887a93","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200917.ec30167.tgz","fileCount":111,"integrity":"sha512-ql6eg0fguKyeqg61EGqGdc9CJ5t1ugcuSQZx4OEINa8M+fw8jgo+FEAnef4Kdy3GUHc8Iqt3346e5KfVntS9CA==","signatures":[{"sig":"MEQCIEsdQLdVk/EugZgNl7qvQ5BzXOJw3tjDf47lwzdYBa6fAiANaTcZ9UA0Q2a3vUIklOp2QIQn/jgG/xwc2Wrv0MZxgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYtyvCRA9TVsSAnZWagAA/v0P/0eb765sncErFeePFFkz\n2+gIpaZYfmP3SB3nKykPWxyPYf6UcCSJyceZFDnBas2l26m/1/UbzoWz5ulq\nq1iDzxp0NR51E1ZOj+00r8Q4UrKZNMK/L2UukHUBp0rJ3O4Ngf9aAunceTXB\nsDHulAl5E7rsP8tNIpvnrE2CYA74pgb9yHeI9sqJHwbAxXugZyy7xHqzm580\nqFhViLlnrwqqoTMw8KJNibB1Mm/lCuk5R7hxc40UyPx+MXuCr6ME/igbc2Gv\n7K+FFcM1GEaMSI82yyKWFxCBMZfIAwBroxuwzm79rIUD/LFCnbBsRsVt2p8P\n3BgpSrm5ZV+lVwLaVVeWzZBKInyuRhKBODzfaGdHxg+NVnYK7sfvskq608Kh\npfVYVCiY5Mv+rKoN99oMT9uk+gNTuUjFPtoiQco5fcRCagL+w+4GQCbAiYXY\nHDNE8CQ93rZzFVqxToNSh9WblkJFcqcoo8bdW7UJiXm3ymS8Xh7i3Ol5hhHg\nux1bWjgW5cgjeFbNv8IZahuuH4rTZ1tj8bt0w8A8xOoOZlYrwHGLiGqx63C8\nFThfFHfy2V6rN4+qXs3RbgJtPy8Ewn2xAwcPsoAQaCsAvB4UDtBJ3wGSPxdT\nMYbJOkzXHkHzhTuJ34rznslByozBPQ2JI9Pwcvy6ioIERzhEfX2aMQUEHlTz\nQwAA\r\n=W0mm\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200917.ec30167.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.ec30167/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200917.ec30167","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200917.ec30167"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200917.ec30167_1600314542911_0.40405912358113816","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200917.737fe95":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200917.737fe95","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200917.737fe95","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7b593fb72a608ae8763850926738c2557d71b921","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200917.737fe95.tgz","fileCount":111,"integrity":"sha512-BLqHu1EGKZR59MV2V5o3NiwoIxYMRzKmHyiHsEIsdS5KPxjeh2OoSp2pek+YHVks/4nfoGXXhJgNhMRIYBmKtw==","signatures":[{"sig":"MEUCICCzeGtVUu1MNia6F5PC+csykTMc1VItTP6P7uqptfXDAiEAgEg2YDdCQDOOWNfTxIkzu0BtFNsjjwonAROJSqegOU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYw2JCRA9TVsSAnZWagAAA9YP/RQs8BcS6BkEx0dZ6LAa\nUxA4D1qnYzvc3E44HHjjMelBltf57gHICH9zO3RsqCJuNYsQdPkfa6Js0de5\nNuZ4lBI62GeNFOXkJVDjHsaL44vpm4hmNrh+BHZe6tkXUZKwWNLKTfHu1gVi\nEAg+WICIyj/mqqPp3u4O+MUMCN8BQcfgQd4UuoUyNK5Quvt78x3SHPyMtsRu\n17oDJpFVeobiVj/JJtLRlalyJ7Xn9QOfyeN8VLcVxvyQ+RarO+DACDb78Gka\nOf5BG3dJehXzab8gGAXe07vdSQSp1x+NaIPGLK48ker7fAlpra1MDQitqQBS\nQq05JgrNDrTVxLUE3f2/eeKPA6W66PaU9/M9j7u4ekvfNM7IXojnPZpUvXNy\n7Uh6R/AFn1x3jg80KTTVLOp6xl0B8FUUj31J4CnUWOqx4Pa4iOrz2RujcfF3\nnMShYVPlMCG50LE21FFkJVZCYk5LEA64RazxUKDvQMXiejCWxdj/Z2bgKix5\ndcsnojNbXWL7Sia3VFU4ctNd/NaBAM+XrnQPnuBAeL8cwyEKOJEnRtdCUrcj\n2Us01E2VOLSuHJKofzT1Hby/GxPP/JNK/VGqfrI3CcQGszFjqQ9zO6AQAXLN\nRXBK/yb6r7ZesL8NoD3XDeSrNQwqnsgGyI/aln4PjDEZv0blH3V/IRyr+rA9\nuJd7\r\n=DHi/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200917.737fe95.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n  -f, --force                            If --out flag is provided, overwrites relevant dialog file\n  -h, --help                             show CLI help\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\n                                         ids will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Write out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME} \n  --dialog\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               Luis:cross-train help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Write out log messages to console\n\n  --rootDialog=rootDialog  RootDialog file path. If --config not specified, cross-trian will automatically construct the\n                           config from file system based on root dialog file\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200917.737fe95/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            If --out flag is provided, overwirtes relevant dialog file\r\n  -h, --help                             show CLI help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog files. If not specified, knowledge base\r\n                                         ids will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  write out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n\r\n  --log                                  [default: false] Write out log messages to console  \r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -h, --help               luis:cross-train help\r\n  -i, --in=in              source lu and qna files folder\r\n\r\n  -o, --out=out            output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  rootDialog file path. If --config not specified,\r\n                           cross-trian will automatically construct the config from file system based on root dialog file\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200917.737fe95","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200917.737fe95"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200917.737fe95_1600327049259_0.48872974054900475","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200922.6a0f42c":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200922.6a0f42c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200922.6a0f42c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"267c99482623d9b73416701ec54ce8667d8303f2","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200922.6a0f42c.tgz","fileCount":111,"integrity":"sha512-nYNxD+THoIY1Xke0uN0hRROi/y3jgdnVD/0eEUPEXk1BCJW38DidiU8i7dKdL9qmdj45SEt9HY6aJrFUcj4a5Q==","signatures":[{"sig":"MEQCIAoWo11JkaBcbzWZXzkUt5E04YC+0m05CK9K/WVFUt93AiB7rYR/Ro0h9TQSbKzG92S63YHVzHC079gAjDrIIN9uBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaaT3CRA9TVsSAnZWagAAQ7wQAI81Og2T26fMrRQRdvlY\no9D/GZPQyZ4ONT4wNROzyA5UWk2EpBs9CxTbV6og4ttGWIj3gfKC4MOVErXd\nq5x2lgnQWPO/vLPtIAV/yA58SIKOmM3WTbFJ3cJAbYoIwtMMwvW+jbdiATFw\nyTROVfKDln+h5Y5T7cKjjWH0KGdKZvv7mZuhlyjKVFbckX0TXmdYFV2N3v3w\nB7I8TgJSo2WTplMSx7o9VZ8gYXTKvBwu0opCZOfUhzpLX8NVuEk48gJior1+\nSXg/rXOR1JMTWLcmd52MkG0Fz3E+IK+o0LLWUVDkmDUwrKZCM8Pv2n+aQ8l5\naqhfXPs3hEIG1pbN2MSQqA0HApuOcjfbPT2CqB0z2RypQ9dVlcB/lbWT73Sp\nRxcyV0eUqWAUCU+Yn0XG1Aikq3+QvrOLsPyWbK6OebFmrWu4GYL7Cg2ZmNZy\nOnxIE1vPkjuwEHmblwhjG4EXh0xC/dlzGfAI4rqTioEKDPDAF/B2h7i1Jzzz\nMDEVNKik0X3iwMEc2GNBhd8UDdqpCMKIJj5aOM8bc3I0AWkk69w1xwzlEbs9\n2GSWolTPqHJwdVz9yOz7CdDRrLT7XX2KSkgicChU41+a7nheOMDtbY7UqD4R\nGAO3kMoWQW0nAAGDggww2ivpCk545Ej+wsq3hS0mEM46LoSF+bVwnSr4j8M1\nmEbg\r\n=X3fl\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200922.6a0f42c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200922.6a0f42c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.3","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200922.6a0f42c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200922.6a0f42c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200922.6a0f42c_1600759031238_0.4980097827800034","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200924.df24cb2":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200924.df24cb2","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200924.df24cb2","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d2474f0a0651e7b71db6f7f39e28923b1536f40e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200924.df24cb2.tgz","fileCount":111,"integrity":"sha512-2pvk1ZwnnMBmeklpSyuNL8GMe6gN811KzDQclydeNIRYs2C6q3viFjNgHFCBs23cfZwkx3OTda9M2g3mascqQg==","signatures":[{"sig":"MEUCIQC4snRQHLo6f5ify2kCmAkjj30mhP/s2MP34sU0ymXYpQIgT6fffvu/EJUgGKArQk12B73tHQWlow2f4qN+dsnFURA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbEkbCRA9TVsSAnZWagAA+ccQAJ50s95cFi7F6SN0vPyn\n/VtwHd00O9/8y5KZBCRPCkwKF5cY0eUKltxhWrIjVNCGH3ypS8H5sObMBM+k\nWEg+6HebLWg4PDUcpTVsrJWOXozfalOq9M1vQOUpq/7pReLtJWHxk0In/zNc\nFfltNkQzQBdxtVYK1jXbg3EEcprApibu6fqlVejUTI1fAFj9DeW1G+MGBRcZ\nP3Mpfc2CkMXUgoFpeg3YDYxd84h5LyiHQOo0fa9HU27hK1GAwWW2LkINq1m/\nQOzTr+vhsz4SpULK170GvINaXwDvu4wmX95Ef0igvKTchrA8c53QXvmWClvq\nNq7lCi4nEvrYfIOsFwKtk4hpYrd6lY9w0dM3K3jjn9dJVHn7hACnl46qQQ1H\nnYPQRgwpSA5G/p1msweog840A+lUq7z/2IfpVORbvigZ8axmnPm8XC7rxkJ6\nss0FDdGzKCBRb5cryWmcvSb7f6PTlSKAAOe8GMJZAoGq+GO8IAChqSwnkIRM\ncTwYOr9afkagZ/+UFpxAs7WQLhSdZNIS6N1ix/dUUKSAdRV72SDFPDPdNYCm\nOkp2qLjv9uD8UwNqyRYqtlgqEoTdIq36SthDzl9ZblpHP6UmjD3FUKD5n8KU\nHXcCZiEKA5ERsnsj5WVizXS7vldgFxrl2uKCxlSrhMHe78cUvyE9YURVSLgH\nEBrf\r\n=i5lD\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200924.df24cb2.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200924.df24cb2/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200924.df24cb2","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200924.df24cb2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200924.df24cb2_1600932122652_0.028101624087030874","host":"s3://npm-registry-packages"}},"4.11.0-dev.20200930.028a4ec":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20200930.028a4ec","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20200930.028a4ec","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7dd1b669627990eba65e587a56bb3761b1ac7eeb","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20200930.028a4ec.tgz","fileCount":111,"integrity":"sha512-NlbTwll0MUkdX3N7BYE0TepfnmpBhPndqXfhzP02V/YRKsg6BE7hzZJ6zsf2NqCKgg4vgBEJY1BRPb3kwcaiZQ==","signatures":[{"sig":"MEUCIQCKtr5NjIxfFiYxLGcxNn0j7F0+/y5RBC+n0NjDoQ6bgAIgW7NpBbyCUa//k5G+CkUS+bNXi/+peGvqQ4gPyp/HoEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdDEECRA9TVsSAnZWagAAN3kP/RI9/vyrtYkBzhCDRh1B\nxhlWa2u9HXGLbWasWP65F5mMFICVuKm2VGY4TM/TJ4OJs0MsTbVpLLqcQkr7\nx7wCiuB5mMqNbc6hx+X6+lZFHpa7hYGE/W8dS3Z32dZ3699z/IAWad8ncZXw\nWcxkJAe7vngiRHAe6dXu2HegUhyS8P3Z/sey2EVAJVwbX9Z84HxuTaejz/+G\nE585AB1OhSoCGNOFi4+oNxhKVJ7jdI+kHqbR5fDWN7/s/0uriYeUCOzXp57S\nOJEy0Ikc55UcjC4/S7dc4C8UV0Y1sxbahY/1EfP6zAEkyPzwzMsVnBidtcqm\nmroOze9xHK3CVCREgZARVcHJQdxWF0VNXxtb/fKJ95U+MMlcnx37dmGv4Jq1\nIuy0/TdolrBcmqbhZ2tzJFNfDDlRnGmFNSHkGcHoLa7PyQ12hZBExazCaMaB\n4g2ntPHP0ERxJ+P3du/yIGyhGtAhZKHRWBzm8FE0rpzBHmWMthTBqB3qROVN\nwLtCTjeApnolQbH01Q2ImlJOZJ7wQhUAj8TiVfU7+mLaGgn1Z5qKv0rK4df0\nh0mxfYEbpFaY10pAIgU2ASF8M5EZnFrGimzNxzmCHlFf911DPTIJg1Qoo16r\nm+JGVX8iIApLIIITH+k96tBt+c8ynX488ies1FdM3+1hEa5sfjYJ+c4RdGln\nThmb\r\n=VAr2\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20200930.028a4ec.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20200930.028a4ec/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20200930.028a4ec","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20200930.028a4ec"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20200930.028a4ec_1601450243796_0.49182549095132555","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201002.780bf2c":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201002.780bf2c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201002.780bf2c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0b4c8830a676179023f09b05977ab387cc9d56d4","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201002.780bf2c.tgz","fileCount":111,"integrity":"sha512-SP8JW/Rh15LSjTBxPR+sXaJEtsvVf37g75Lxrl6+diMzmnom+VfdSVufeesHDWxHYs2gp8siDdXBSFYOv7wUfw==","signatures":[{"sig":"MEUCIFZN2ShzS5eMwK4pXtqZ+dsomhZod+ZFCm1Nwbb3Sws+AiEA11ZHV4RoW5acpPrOT+r2SL2a3IIE/88NyFsOinoGBZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdtQ7CRA9TVsSAnZWagAACsUP/R7ySIjfs9STxl+E6k0y\nl+XNTqEayRoE1N27Venn3lEDmKkrFOBR51Wy21GtqklT5RNBhoAo7SqL2i/X\nhvhfSml+CF6Og/qmdqgHEr7Ay4mrBVy6KSB5lVZHHh+omIlVsC/mg9iFHqm9\n17BfiOqaIiFwZCpL7LzORGCXp0e2R/bU7pgsM/mG8O3RTo/wJrmAngJeukZ+\no5UkxVPS6+Gjekxvml5D2ns2l0iFrEG84Z2sor15eiaklp4wfvk48hs7jdwX\nLhA4qZNQ+tOUtSg/VEB75NQmHkH8soPBUPA4/+OIBp76OESmIUBrtXsu/5bc\ndEFV/sE3Kbtndcmn8Gs+7Qi4+6KxYrWala8kbi0r5dKMWV4KL3qRCVyuXrrd\nibsoO/TUTQu+dFSh8L57+69rYt0LQxZVJ8CFh7zaboNz3kR7lQTk+trU2KZe\nPe8KzQ4uqh4iihHCPyai03vsm6kErUsG+QBS14+COMCX/nYiLvMKQiDAMuY8\n0H0hqWslUANBWDKccTfN6JeLJYCkA8rRPP1bxl7NYxjNti39M1Z+Eu0OPXZ/\nStIWsf5FIJdrcQ3XuGc7N95IvBevjo51wns0huNyjBctp0ezklQDkpvjdnZR\nZuiTAZsGnHMHtiDQeFU5UnBuBmoevTsUUV79n9s4iON0m24fpr+i0bz72Gaq\nH71a\r\n=eJT6\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201002.780bf2c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201002.780bf2c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201002.780bf2c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201002.780bf2c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201002.780bf2c_1601623098993_0.44697731795042106","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201005.7e5e1b8":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201005.7e5e1b8","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201005.7e5e1b8","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0f9d9aa44aff78f6048bf35f88eb1fc8d110d834","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201005.7e5e1b8.tgz","fileCount":111,"integrity":"sha512-o2PkeGh8STvue6fu27cUf3/gL3BGmA3wjOg+RGJZY59E/wRL53nmmWuFVhY0p+5KQ2jBnUlkUQCCD+4kdkhYzw==","signatures":[{"sig":"MEYCIQC4IDIrg3r9K9vgjckNrBEESt5Cf1aX+UonZcJrG8MSowIhALCMUbASZSoYstPdFjNG++2hI0o47PjRj7AR7NWjOTls","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":222106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfesjqCRA9TVsSAnZWagAAmBQQAIXpiTc0hGQCpchDjy2v\nLJZvTPSbr616DhV1HXHXPchF4XYD4Hw1ILrxeFTCw7WFpYrscrwa+49qIGDw\nHjrXhmPSlE4EisZGJBLJtkxm6z5a4vR7hZuHGw3QQX8ERcthSIjKNnbWqqDm\n8GntQ6cgJDd08B4q39CTHqA70Q1sJOKeAsR0r79ex0sk8FyPuF1sEGKByhql\nIG/vxNejAhHo0MWh2SWHQWn11juUa90AGw5WsvrsLUFalVdiGH155Uu5I9Ke\n+WrlyfbKjaRQwiGlN5qB9nTnSe56abMo3+Z4CGs0/RhlLj9jMSJRrspMxz+k\nejyPJLpBrrJMbRNiXKC9JlOFqMpoh+vKF6uIH69SlWq1lbAesxRLG/ALrB2l\n8V7q0T+hKSsFK7DsPZvXPZCCJ2hDj8wD6cjZIVbwbZNLrvggeyqHoXWJTQhP\n29XfUU+9lF4Sh3SHNn4mCWNP0uBMCJqM9pgqG1spaehO2OBr/sypdXgHzW2W\n2yLwwi0Fb8F8BlMqf+CoyoxaRQp1brFEy4tLcg4FCEaiPUqyM+aVEYetUe4x\nqlF5JDChzPbON8JN/PrAAPMuHRCD+iEv00raKoLxKZ3Os+pFCYJ9JAg7dr8z\nW5llgiG6wSUK3SjCI9POXIkVyhZnlHYQdAXK0mAe1EWJni0VMKtpy2iwHoRY\ncMRZ\r\n=cpPu\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201005.7e5e1b8.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201005.7e5e1b8/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201005.7e5e1b8","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201005.7e5e1b8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^8.3.0","fetch-mock":"^7.3.9","typescript":"^3.5.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201005.7e5e1b8_1601882345758_0.8651084791947996","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201008.18fba61":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201008.18fba61","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201008.18fba61","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ba625eb71a145b803287e1fadb1e566d2d435b14","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201008.18fba61.tgz","fileCount":142,"integrity":"sha512-n+Tp9lP2y9yKPrrWSoGgXnIdi+VSXnenhuBz6d3OBOydAezpgmFLbqQzjE3xRFAqYl9Da+ZOeX+urUrjI8MtnQ==","signatures":[{"sig":"MEYCIQC1yIP87h6mWMMbNp30N490kcyhuWYIwO4uTX1hdpC/2wIhANkfK+L7tzxXJqqpiL7CyU26W4cVXO9bDpE0Tec7u80G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffrzyCRA9TVsSAnZWagAANHoP/RDbyLgNyzYc/HM6wZy3\nKo9mRhNUPkbb0+xeRWMf3wVpeLkIWQfu5zRGkyx4vfDoCsFSTBThiMK9MR6W\ncQBkxImnlHyTFgadNLix8CnM91ledkGhcPjifpVG7K4ub75s4REjDwGSUAos\nZbO8uvTZE9PMrM/L7xJs3MfYAqhLCBELCk7mkKZRflp2yJfMMc595glYzmdI\nwUx5rZyVYUs6o5oGtmqvp/b35OlQiwpP0YHHSeS10CpwG7+VIYkojOfnywXw\nYZNXAKbZyRvCco5KjC7Bp3/cCSAwKxtshHL8bh2FLrBiyVwJG4dAf5Nuzou3\nO6N6VZ+DQqlYVrphV3oVawWXP1FZco4wVmNLqzy04zeqscjkTHDJoiZ5R0o5\n6s8+lSxY6uR2SIelM7E4uXZ9CXP9JrV7AGW85TzzaDcu67cujj47RgaP7otk\nlJhMcObZHTDbOR3YeTYQp9YBNOdUfKJsNuKS/306NqoUkWxeBSwJzD2srk9S\ne8PQJ3uPpmfmnyBg+k95TAErzAZQG3wRfsoHctay88xiUlun/5Lj/kxuxVyF\nIfpCCRm+I37rDttnzPFyuuH8WQ+yL6cBIyey855PGpayegDRfK1WJeK186/2\npOk5xicllU8XkeRUsk55E3hJhAdRfWfbHdpM/uKNU8Kep+BfsVk4deeZM37Z\nfq9E\r\n=o950\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201008.18fba61.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201008.18fba61/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        [default: multiLanguage] Dialog recognizer type [multiLanguage|crosstrained]\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^1.10.0","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201008.18fba61","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201008.18fba61"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201008.18fba61_1602141425841_0.6703897309407383","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201013.7ccb128":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201013.7ccb128","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201013.7ccb128","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"76ad584ff9c3fac34ce4d9e4640c36aa62ee6168","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201013.7ccb128.tgz","fileCount":142,"integrity":"sha512-uoIxgLb9jkQdDDoXAOcISEmmGr0JBnJfSsKeqiY9Y8PC80P/BLk6Rtz89bPTWBWNDGoSJhZnb9fo7b/Luuj0Hw==","signatures":[{"sig":"MEUCIDXRZr/yFipzuBlsFUuy3EcxlBWKqMqneYffzz5dBdq0AiEAsJIzpwPrLNa9GF2T6StKjOLUuojECUD3z46CbQ2VNs8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhVX8CRA9TVsSAnZWagAAlHAP/iD01/8LE7yoSVjfMzfL\n24OCuSpJxmlj6NOh4PK2i0NBeg7PTYlOxL/VYn5iIOiLJBgko3m2Xvo3b43m\nQFOdT49SpPepZaDQwH57SAT51V1ybhDwCoe28kfpf0FvPKo9JR8wdq0MXtct\nSB6/G8VBBfR+snIg+hiWU0FHVJ+7zpC4y1AssWMlLmpQNiyFgD3HJbC1QTTA\nzuRIENUlAJcn/ZSlPvwxh/c38TePQK66ztRjtvoSIt454Bbh9TUorJgrBHBM\nc6b9hlZ9NtTyJhlYsHPjqnwGd9Vyv5WNE9p9yUOZCnUsV+WdSKunaZrt9Q0j\nxjE7qgKkbD/cwCzl0RDPuDZjUv9aBiyJKYF5+2XyFeK+np+yo6WVUWhHnb3S\nC9aDHPU0Ic2f31NMOEYOGx0adcDCM4i9vVmsxwDPACvU0eEtSVERLNm7yRbw\n56YODvrdhDyIYwy6oqUEwgc1cAkPMbNNRvxngyyLaBixYpO4qjOp2/cg+yOu\nzYiY/5mbilTKupps10N7IOHjxj32UQ4LhRLmQIQiKMB0zoDx32SAgvk1by4z\nHq73DoV61Azg42zLy4Y/oFd+TCDEQTUCJaFBoQ5W2K1ms0tb5BJfWie6KpBA\nwRak74YJTZBhC2ohY89oRbAFBXyXw03GBM1YIot/zKdx6Fe1sklsOXmcS58D\nsD/b\r\n=DGM/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201013.7ccb128.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201013.7ccb128/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201013.7ccb128","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201013.7ccb128"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201013.7ccb128_1602573819519_0.3195229666639341","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201014.d8a6b54":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201014.d8a6b54","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201014.d8a6b54","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"b027136f555050b51cad832c8e335b11d95e220c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201014.d8a6b54.tgz","fileCount":142,"integrity":"sha512-mbH7XzBC0/NiRXhlIcpIYVDavJefAcZFBQ1uGRAlIzzl4fbQh2EIgyirHVkY56KLbZRBBOFyXhpkh9Gxco7CCg==","signatures":[{"sig":"MEQCIC2KDXfLQUfB6fDp/cRLlgrpAoQO28yVdfgx1UQuLPj0AiBkomMGy9iypnMGfGSl5KZQy7dgpPHLm8LmPi05CUasUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhqZWCRA9TVsSAnZWagAAZs8QAKNt0hiPBaaWG1dtmc60\nTGjK2gHXT+tfLw2V/XHFjWijuQ4GyukzlszoCa4SIxum47k79LEKyEc3EKqi\nmSa4Lz78+KXUcEMRPRXZvCnl3ANEMaMmsMMFzw4S/ODEk6gvS5hInBBZjzST\ndYCmIn9czXv6DkacylY+jBjkuix3RzoIbcm5xVHDJ/yEMMcxN/IrX1WAg5Ni\n06JnvESNwaZDvRQf9XuSfmstorQK+qmLWhUHP66FZ0QiBiV1XGrfeO6aH8aH\nPlwXH8rrRDSj7AFqTJsNBGkpH1ZyRTxlfx3kYIaO+WNGE8iDr1LMM4y8Bh+O\ngG5qtH5FUFAc0+2YznqeEbg8yYF6HwMpjaVRoAeUleA2AR+Jg/4pxhRhyGQl\n6WgaDAnF3EIQqgxB8EMUjPVO0L3y7+rC9VY2ViFfZeqxPlcCo06zNnG3WJee\nrdkdDYmiEF1cMU+mqtosEgGRqVnaT9nGM5brD6O0DxvsGVgd2aAKlpomCrJd\nEA/PNsmCjSJRr9AWPUnqowuUfHZ/R3Zg/HC0PPBlxk4HR4P8UMVi+GkimNfP\nT8gz7u8KBvKWEo/2pVtzqyjDdcHd6JsyIFFruPmwTk/0kJZYeJJEIATGud8/\nByA7Xfw9vsbdYsQ8brLViG4fh0J1Yko3FiJB7Fpd09Og2F6RZZyje5yCuFfc\numA6\r\n=YMBP\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201014.d8a6b54.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201014.d8a6b54/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201014.d8a6b54","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201014.d8a6b54"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201014.d8a6b54_1602659925887_0.5810072213686688","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201015.a41c691":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201015.a41c691","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201015.a41c691","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8bf0cdb6723230c91cfc865c1814b49dd61ac8fa","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201015.a41c691.tgz","fileCount":142,"integrity":"sha512-fCVA8JcopwcVC4+WxQhgsncvn52u+LWA4h5xWmTtqRZVr11FFfaAtsYhyjlSxX6bRs4nbkaNhnW6zz5NtaFsdw==","signatures":[{"sig":"MEMCIAjF2vECmjZ5EM98UR1ufiqpWwpim6o4ZPsQmXltZFe6Ah9RgTXyTpBgvFe1iQJ4NVmdsetEw/G8SD11tokWTmQb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfh/k7CRA9TVsSAnZWagAAF28P/As7wpxLHfSeXyzP82fY\nZdz6c6wxCw8rxM+65AZCbpF20UOM9FFQfsu34+v3I6HqddFizmIvfkZUq9wc\nkapto4c/496wZPoh43RGU3ZAAKNJBkjhhtBdFR+MTMMxxmVUptO3f7OC3uNW\npHyLnYG35LlEdbLeQKh4x0pzdK2m90IDOJwLoW8I1kBrYpAGA/+1m+/374lm\n7/G3I7HlEnJ6/p6mtBMvEyDoP4qzKPIJyVnrJiNgOzcFM3twhDVIoKm9xOfO\neQbd8zFC0aRJIurQswhXllNMl5eJ1LoPMAcghToxO4TXlOcvmGM8hT4YrPRY\nWaKU4tDfXd7X4gGfxpBSuPeolXTrfU70gNtR8/yqU90QZ9JwqG6ScB9X4Z90\n2VONI/vZVO7NZ/Vr6bJRhMy2ZLnj8aNHfFK9zs1eWHTClE9GQFmiwtfjsQtt\nxHMn2cAXqSDwR8SU5orAyQoNl4eUIbSJgFkpnLyNXkmlUHWrGjzx42gdPNMZ\n9KXBb3MElsWn0mH0MLG3U8AIcgH0XhxuZb8da+HiPs3Jos9zSANMhGYFyOKQ\nulzR7wuvRzA9hmLUBO5TKowIWhZLAKoGqXPrly3/bYJhaUC8Gv+YS4tHev7X\nnw5kjVc00qAgxGXC/oWz/HjEcQcF3pIs5uUE450oQVbxQf1ycev7ejwej9ZN\nXq73\r\n=0YUi\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201015.a41c691.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201015.a41c691/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201015.a41c691","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201015.a41c691"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201015.a41c691_1602746682751_0.07484232154791925","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201016.24ec3b9":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201016.24ec3b9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201016.24ec3b9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"615593ab5697cc6692095cfd8d86d7c2bcf7ef82","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201016.24ec3b9.tgz","fileCount":142,"integrity":"sha512-/ydoFYrRrOIkJ8Wfklwn4EFOP5mgsQD8ZFONwtDQEfmKWXE2dIhsHmvd+K3a3yxlLmni4M4Hy7VdMC9OrHzfPQ==","signatures":[{"sig":"MEUCIQC5pQ7/PGkWrMbdQ9kSTToLkG0ebZ3x7mszi/P5x+jgagIgR8nqQXQ0vBHGK0iv9/UkdQIYjI8nNxY5KoZoJUwoQqg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiUr6CRA9TVsSAnZWagAAw9kP/1l5Z0VDBBHuq+GGP13j\nbJoU/fcFesUxCfkegWzy/9UTMyKvEzaRKQciK2e6+cgvDw6DbuUY6zdb3L1p\nKyPpOe302YTfhi1s2GlM3QveII8PO+9LHWGHrKrWQlKxZ2h5mCYAIHAmCzAn\npQeWfHeZ1Df9qrB56Wqj6gKQL/wbu7U7uE7JEviy2lU7tV1Rd8r4oteh+AO3\nxQUN1nk8ktMKeUL0SllkmvXJouvbEPgd7moO9ad3qFMWa8lDQPlDtq/fyR7q\nzspVbfvsld8YDZnViuGGIkAhQQI5x5ykEeLuvbXcQRvJ5MMVxNq/q5dsVoCl\nyX/dtRvjAW9zW0pnNiJlxM+lqAa4ur71bfq293vmQSyz/5Q5MU0WGc6xdl1S\nxdkN2rr+73IBrZ7NMp/nuNccp4ODfQEcFy7YcsQjw51PNgLw1PrwhghYWtet\nKHk3iq9NZDwAww8T838YjEO9wfxVgtwFY2bvjxpVQPgZhLkvCjMHGXGW9ftw\n3v++ICk2a0d2Voy8+Poqp1gZvMZ7lDJ/zrxgkEjBKl3hsq9ZPCNsh2/XPrxW\n9iGepNHswwQKTqnL97fxIZdJ2Psf2zgixzuvFgEUR+XiLFWeL0l05F1sN8aa\nMISIwnYPBKCRpyRa5ga1oVCzSUOahv3Na/0NtHJjcH8E+MYjuaJ03SjjpiQJ\nZhSG\r\n=VdyT\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201016.24ec3b9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201016.24ec3b9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201016.24ec3b9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201016.24ec3b9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201016.24ec3b9_1602833145947_0.3616825250208622","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201019.091464d":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201019.091464d","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201019.091464d","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"5a5699d5555a289f5da0b9414d7a1a02fe79eabd","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201019.091464d.tgz","fileCount":142,"integrity":"sha512-wzn5YZVJ6L0bhvF3ZpxtGgMi9WEVpF0/nW8wL3dAh2e0lLMloPfenf4mMO9kV89eXSsGSPZIvdzf4xCs9LU2BQ==","signatures":[{"sig":"MEUCIAv3AUYISmiZGwNFpeTDau8VyvKgIYvEdCt99uelhZIkAiEAmpFCTH33J9TWHPXOvrLr9XtybjsjuSKdFxb95bhABNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjT1sCRA9TVsSAnZWagAAjHEP/A0j2k14xj+2PZNETsWb\nXr8Iw0L4sog317JnRzCbn4HpNBZjHM5PTxhnlPIbq8zOpy5WJp23DLS/xbLI\n/Z/kARUYKfEKPxUZ+vikJ9eiWEnl7JHjLR3aw6Q3Pm5fINNB17fcgtA3Kjgl\nvGgfNL/64m4xQdLQSGGhjdUIGet/zjg7gjGULvpiGOKSBmlW9oK0P2eIXoCx\n1x9sVke1S3GlqQobAEHTo4SFsueryWrjNyKzN4nouEtLhkNCEfxwA2FnlZp9\n/A6Gtg51qKI87SE01TSKEAScVkYnFb4LCfL2GS14kt2IrmuaO+qcc89JSzXX\nW6pUAd4Q6RmMUflnJTjbng229/I/1YKupiIStLrlj8w5X4hn1Pgefm/9gJDA\njwm3TOM/P/ti9Ei/DkoKcGkqQFBOQXHrfmilVqZZD2MzO8kDGHnOgn7YPRBg\nOgvxOBmmyFc+jB2vEW7D2J+BTKtZVxnHKCSCCyEHotx883EiAxvUHBiD8rkv\nwtwwC/0tPHl9mCqvSembDMnztfgfNeQnEhSebXD2y+Z/ykBakDCLrjYMmh8a\ng4uH36cH78GBlfI50i8uxqbW89LbajTiq7VA1GEaKrZp64nof80Lc31tXZLo\nKmpMaPIr3xxOB/rnXZXsnxuxKeRia9BmHnr9RRbsWunjGVfiCRiy2OTiXHCU\nT3Vw\r\n=ZAQ6\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201019.091464d.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n\n  --rootDialog=rootDialog  Root dialog file path\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201019.091464d/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --rootDialog=rootDialog  Root dialog file path\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.6","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.18.4","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201019.091464d","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201019.091464d"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201019.091464d_1603091819767_0.9036411694768807","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201021.d59abb5":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201021.d59abb5","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201021.d59abb5","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"26099f06cedcff4e939c0431e657352e9660a72d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201021.d59abb5.tgz","fileCount":142,"integrity":"sha512-yZUlCUk+oU8jxmyT5vvUoojRVuumFPB4vbMfTA+4Llgmu1HcBlMBc8A5d6kIdcwrJ+UO+DCPonADetd4acEYXg==","signatures":[{"sig":"MEQCIERGgC3fgv5l7lqKQAll0TQON8bikBHJf/j6F89nYdCkAiAqJh2iAE5G85v90T3jQnlnhrcZ6dmS1itwluUMzA005g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfj+ChCRA9TVsSAnZWagAAVe8P/jrXFX68eYgkljLAdoF6\nAvHEHxYGPLMmxkTo6wQsn8v1zm5sIzEHfRCNzPP1dqyHvmBNr0/dacNDMWIa\no/+W0nImdvI4UX2lcZSZH3jptmgMb0WoOvq9EPWSp35MkEjUqJTu4YNaLgzR\ntlPDY+4NRMy6ORvGo0N7K7vF4Doj7dZwORvaiJcqfzbv4gbAYqb19vaOUtWw\n+beNzHoguRN5FVYAkEFqlbU7pVTqkmSHI+yRcI+N7IG89osS9O19Ud/fKQAa\nXFraaVghSczb7GSkGWJ+fP3xhdhpQCL3LjXWpxV7v+5i4j37vzgDvPlFObAy\nh7HdqVG/nFyaH4NeHkVD7xSxfpN793qsNbvaWCZpzY/2V4mWCK5qrFBiH4LX\nOoleZh2arkShyC5tXT2zAWndBoL638CtMq2AMWJLvztt0o2HTQ0Vvqa6b0ri\nOn/IuzCaO8rRgfrw8fPt3yqytvhdj2WQK6Sr0M0wVrEU+0Tyjudqz5KQPNuU\nYg2lUPrlDGqdD/MUzCIYS+gV+rCpMrNm3J5HBfY2neGf8rbKruFIumtZW8fv\nM9xXnbSA42FdbdI21+y+MZjN43/wWVhEewbqTm6AX3+0w4GDz3PVVK+rDCPn\n6/81lNwLM2GjiczKstjeba/lkFSdh/QAHPpBai7T+h5yVg/hblWMrRcjgA9d\npiUf\r\n=YjuU\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201021.d59abb5.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201021.d59abb5/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201021.d59abb5","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201021.d59abb5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201021.d59abb5_1603264673476_0.9524009843894659","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201022.a4b06fc":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201022.a4b06fc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201022.a4b06fc","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"5d44598fce0eb5a5257fadcfe9785c410b782161","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201022.a4b06fc.tgz","fileCount":142,"integrity":"sha512-U8oiJ22s41kheVaIyB6pDKA96/rynoFwrNvbW/lKQmHKBiEq4A8HQVOFdVq3laz1Z6xjnI3VhkJBH0kFBSsTtg==","signatures":[{"sig":"MEYCIQCWtFTcZF5Xu9EspRUqh7YFIw1VtJTNml+MUhjo9p+JjgIhAOcMumSgo/jsouhIYWWsHxb8ZMRe/yP4QWIL77n+gVFx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkTIKCRA9TVsSAnZWagAAfsoP/RKvIX6/5NEkto7iAceZ\nTzReOQuNQQlg8U2XspnsnR3PDPX/0gBCBufdMbzwygqygu961aViyNGCxpuZ\nWjhxMMP7H2l2XwWKavorMoHK0DnmmGpgbh/SASYIr0mcE9rLaH7PX8kanopu\n3RsfIlThQtctAU4VZ2unNE5LNEoc61bjH0VVyUyoaqb7QgkIC9BwasY6DR4i\nEJE+hpA4Or2u9YwYYNQXoO7qZsrw65FwEiU0FlKeo3s+rl2g8DEdNFROXPWR\nFX2jwiavCJICcLgNgIdDw7bKs6QfHNwjk5hyw4HXsLRKpbL5RWSbHGobjKBL\noQxiYXRWE3kzv2ACXI8a3HETSTrWqA3RMhtXABcoQ+9EGM9xoRmnmuAl9t0E\nwCDes2k5oDmPoQ8szJ5jLGVdB5cN8xiKprKudPu5NwLYYZKeWH4wBJVCPGpr\nsXjjorvTnVT/RlVuQJ3DCFz7S09EudGkp/QaR9Htv82/M+c5jWmxF+QdX1PN\npB6p7KaRROPK/qIWmLgDC2uVNgYBcHUP86tvNXGna7PE6tDvHXekik3t0Pqv\nMBYA89o7Ne6GnUl7ffMZOgLSVNhtSNCu4RSTaEfrJDH1MnKCQ3dtc4otUeC+\nYzs05279G4meKukeRz+g+Kv1S1XuLQ+M8x2FT1rku2GJpLRlwp+a3KbX1JSQ\nJTG2\r\n=rCqe\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201022.a4b06fc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201022.a4b06fc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201022.a4b06fc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201022.a4b06fc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201022.a4b06fc_1603351050540_0.5934901678695625","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201023.4d90f4e":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201023.4d90f4e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201023.4d90f4e","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"285b4625e5a26919a79e42f0a0ca4c9eecd17044","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201023.4d90f4e.tgz","fileCount":142,"integrity":"sha512-A5eBf7S2coZLiiuQ8cwPMXOasg7pFgzb4m8UJpw+tWnvVsf7GYISSNpL/WL05mRujolLlf8TS5MEcijxTPubwQ==","signatures":[{"sig":"MEYCIQCAAaVGklvH+EihaouX0Qnjl+erUy8fvXnN/fNlnKYvhQIhAOgiKl0+9AsBO/UmtlZ7jXLdjvhkvduDY8fXmVNUBCb7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkoObCRA9TVsSAnZWagAAF8oP/0YKuJxo1u4iI/RKq2lt\nB+mS95fXqK/iUWQPQcMeEkLp7UP5IsEVZkbjpfB1DdJAIL6ppk6lX4w2DDQs\n3jET0tSaW2pbfzU39Y4DFkIBqswAYJRquqDIpjMcltQidJmGenySYukj/9vb\nJk4sMbMVSYl5FhgYLcN4tKF5sCEflLT2mgO0U0nKbjzwGbw4NaQ0CFDy8vEJ\n8fV3LFIqggNhNnjKzuGhpUhyvKfwNgmqT7fQXdvAtUaOFZ/Izf0JlwDu0d0K\nZgVGE3aplUKCfAJ6oh9BsnuQN/IC04bi8GWmKYAsG6h3hG4AFVHLHwWEY8hW\npvYsTC2f6ljPOCQygNohHzzc4WrrbvvcpHgwFIkTEmz/nJjGPgQcqPgtRfjY\n2pxGJqYwyc0PK47QK+kVJM/Pj4SfEegompQnNxX6XiE1PylaU0T+oX1/AnRh\nTeMtM0utpeE6JGAMCg9j8SK5Ku2qhTiaNlEg4g1nnf9wHKG722QQuSuWQxcB\n+M/8veeBLCNZxfs+Y6i8B0Z564Wuo2FZ1uaG5bnJ7E55/HFQnFbatqmfmQm+\nVSa2WvXaQHcMlFVKeRvJjtebfnZgUT0BuFYGjRh3Z5MDNJ1Vm0SZpXAP9K9E\noC5vNNbowQSUm7XUVh6VDFmv6K7iZiJ0A/I/0EbwwJUxy4jl4i+5Fyf5BlCh\nhN3+\r\n=Mt0F\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201023.4d90f4e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201023.4d90f4e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201023.4d90f4e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201023.4d90f4e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201023.4d90f4e_1603437466571_0.7217766198883115","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201025.69cf2b9":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201025.69cf2b9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201025.69cf2b9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7b1135b9a066e96acc8c7a2da76616da47be4d75","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201025.69cf2b9.tgz","fileCount":142,"integrity":"sha512-8E6TrhyyDePsmy9fYg71Be1PjUrug3PPWkauKN58oHY0FY9CyQ041ObvhxBOzNg+7sib04KsER3duVxn0+vXJA==","signatures":[{"sig":"MEUCIQCJT4mC25NEMQ5LQAQFdVUI75vHPkT28hTr0t41R+RPbgIgOGtD2B2AvaU700eVstUXaJjPzuVdkH4uIZNbSKMaMdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflbMYCRA9TVsSAnZWagAAOSAP/Aq8yexnohl30RqtlocC\nbxGXI7vBSwxI7Kj9zxdC/31J6OT/zjbCXnAT2AF6z6SNp7+zUy22/+OyoTZX\nDSjeoNoO6VZaLncKAleDJp5HrElhN1vBNz1m5FKFOTj1oaRA1U0fnHTQqBgF\n4q/rhwElb8apypUCIZA0Ipi8XUg/9xObYAxNxPxPzgPH041Vr0m01DhOEEOt\nhxQocO2uaFhUhIaS2OTbsroEgolRpv2qiAtGtHa+tIL0iLymCnvhyaR/EyNq\nWKSw+B+ouirLro5ZZIpR1RLijeXTR5cpwFUOR0nEaJQ/RokYOpNGY6z7w4CA\nlzy5LyogmnvUu2f7LSJ3J+Ojfoh/SHZzE3CYA/EiEQW7eAERzFnjF+Tayeap\nTdSg4aMYqn3t0eBdJla1G3gW9IVy91BWWjj8anUN8H0HjEpjck/tmFhKlO88\nCTY1iMST6CJ6+K4lbIKa2SJ2tha9E/xO2hIz+45nn7DHmCqY0PJLY0LQA4ug\nhWpT8LIpmuCwauPcGVrArNjnEbVy2SD1/R4csPAPXHnegY/XvvjBeFt7GVrw\ncs925M5WT0/+lmTCMXGKYSL02c208KQIcFEDrwXfnlDknXv3hH/UqjU8qMB4\n0nl5B9Cx6rIHDCrCLSjko66xkg0ee7Ld4JTe0AuO3TXYwQj/DzNG+8Kjc4iF\nVKFs\r\n=0+It\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201025.69cf2b9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201025.69cf2b9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201025.69cf2b9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201025.69cf2b9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201025.69cf2b9_1603646231529_0.8907311063699292","host":"s3://npm-registry-packages"}},"4.11.0-rc.20201026.e06ad47":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-rc.20201026.e06ad47","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-rc.20201026.e06ad47","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"27f96c5a1565ed0a559d2b4f3342db2beada806e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-rc.20201026.e06ad47.tgz","fileCount":142,"integrity":"sha512-uTT5VUDWgf3eNMoGs9+FfrdGTDCaPpS+TjTbEiNWMe6I4Jr1V77rSp4d1TEIwBMQSF/fojx+5SHKPO0vQsOqvQ==","signatures":[{"sig":"MEUCIF/URuJ6GK74VYUlRcnNBE/w9y0BF6ng52Ipfb20JTkQAiEArzA4Cnm3HPqvqDVbZgNvw8nIYmKGHbmg7rO0NAAszJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl1UeCRA9TVsSAnZWagAA17QP/i/87mo8iE/9EpNGy9Tl\nw3ilgt8RaIHA9YnIeiFtBdvU4Au4E0po6VnQIoYzWmMdx4PEZRRaqp2bWhoJ\n2VJDfkAXs6rU0Mkb9p/NZijafdH46O+yK1B3ooVKYZWngnm3KbhHnrR6Dpxd\n9vasgJiVnbaAhzUnGMw99jYLpc7SImIgSw7mQMQebOTlgCirZA6rl/6mX4tJ\nvG/wV2wO7UXjOMKqvpj5s0lVxlTgk8RJjVnmT4wA+0mNCgNAnd90qope6u6F\nilLs7mbh5gi25QBxp0vNwv3LtSl/5ETvr+fb3EUwrkoSEkOMZUBuoLWfnOKp\n9lKMcTYEMUOkPJcslmudSF7p0Mz8RRWhks6APXFeO8f8nodvQTAJYKk1kT1j\nHEK7AdCGjNjMjmpd0tZmMOYINceilxhGkDzcCbZrBhHbeO0GkZAsdXHw+7BN\nOQake+P2kPtfoOPpupy8Q3eWTpyTrn0oEK+Ib8Kdi15drXmiCIcF8sOkOKJC\n9S6LQzHnVhBXhNl28XqVCe1KqgWHO9HK1c4DyxXcjOvCohIeTIV+831QnQV3\nOoT8lxR5610ROBmOWtQgyTTPadFeoW3R7vJL4X1/D+VzqPeMJy2PuBnNQgsY\nOP9/gf+17rYk26cso1R7d9qjs/mjqPL9ql4ZQIQkg46FP5h6xdeUkYkffuHw\n/gsz\r\n=5f/x\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.11.0-rc.20201026.e06ad47.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201026.e06ad47/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-rc.20201026.e06ad47","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-rc.20201026.e06ad47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-rc.20201026.e06ad47_1603753246369_0.2721840419863517","host":"s3://npm-registry-packages"}},"4.11.0-dev.20201027.e06ad47":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-dev.20201027.e06ad47","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-dev.20201027.e06ad47","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7ee635ef55c1ac07bf6ec1982a51b0cef95f9780","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-dev.20201027.e06ad47.tgz","fileCount":142,"integrity":"sha512-wOphOm5QHyGHNOwIY7cB5HTTB6hiy8va7S2gv8NnEZAjs33cTzu5pYIZ+JsrLEvQ12cn5s1lLYUmQDcLmH7NQA==","signatures":[{"sig":"MEYCIQDGThQMKkVO3DqIy1F7jN5Sw2qkxblffRlE87tWIsRatgIhAJYUR3zJuVIQKT+GTb3Owzug2ONhHqr5UPGO+w5bOzOt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl8nGCRA9TVsSAnZWagAAF+sP/12z+OaVyI0Kp6LbfUqV\nMbuBe7JHScUsrI3tW1MOKanFIu28UfKaUHQiXqkdFn2akGIPRidTOWaD2BDa\nLiSjLRi+ejtS9/oyEv1u+1ZVsyzIL85s9Fz60rnKKKJ594msc+38vfJfcMuf\nPh8915Daxt6YJtiJHjr3fKJZug/jVXYsKGy9eCRm1FTON8RMHPgP2ezeVlZy\nBJP7UPn66unFmUEZae4vgTKz9Hw3bNqiXYxoTmIZ368wo6LmgwJi/+9lgGn6\nsnjxRB2O8F7eGnXtbLMp7Na+d75EluPIjY7WQ1CVCnrFhuCjlQlaa4KRpa0D\nDPsPlwHYA9Bf/a2hN8XqyIVgCnmw0k66faVktsX333MBQvqQTgOvgbnWvgXW\nQaN4nYj+1LK6lGKn0ebJG1L6ynlrqwDb7uvhexizkGJG4p4gnxwoWd6o76t5\nn2OQ2PBAl7/fmQB54GPFC3UleQQqmq3NtiAn2DDSedqUXXR6B3IaRcHCtbo9\nwkFBeCQwCY+xzZA3xyke8OBCCopMgx82l9zs8e+5jXvLf15lk+t5wHl8PiZ3\n8bBh8dGByS8I+hNePKl7Cwxo84q41VvbPz9WnWRcGMnJoVhawMGr1FIMXKt3\n+ujL0j9TJqXDYGys+qoHE+S0feDW4575xwMIdGoYU6JTTVtTaGtxUqZhPO+T\nKRY5\r\n=20mA\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.11.0-dev.20201027.e06ad47.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-dev.20201027.e06ad47/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-dev.20201027.e06ad47","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-dev.20201027.e06ad47"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-dev.20201027.e06ad47_1603783110394_0.5923276217469875","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201028.999bc32":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201028.999bc32","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201028.999bc32","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"a24a293dd2a37ff0db7490ad88fd788c68026ba4","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201028.999bc32.tgz","fileCount":142,"integrity":"sha512-ePx1bcCULVLpo8RfJVtWshnPtYRIN5cpncE1KPLjIySWQRYo5/Ix76D3+swktxe70AbYj3N90J4wjhsYzlHpEA==","signatures":[{"sig":"MEQCIHIHfAuTBBhhkr5b9SJ2eTpPa/Mz6UJ0kudBpGejcIUaAiAwR3ck7eBTjMeINj8G03dgzdTTDMG8pJQNmcST12paVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmRsvCRA9TVsSAnZWagAAXxEQAIHKB/lQMIPg69cR5RlI\nduuZGUWYVedc+FeFKLJRMFXd9ogJJF8VwsT4HrQhm80Nhv/6t3Hj6t+aP2Ju\nHoo+uoCi+HlGqH0fU0A8SdksPeyB/Ot2Qq+c+RfRKcXtpcQDp2Rf+iwDYWG7\nQ36N3HkWS8dNpD1W+8o5S1+AuVTUiAKO0oGWaiYUP6TIObBLSEQbUWRQzDPr\nctH3yNzCwBxD0mzbqcokt5qbhISsAnHZVHC1GOj1g5DYILCQuhPh389fAcUB\n1HjuH188UfoLmw4UG4OA/9pIovvzPoQT8Xqyrb2GHZzQdHcO/o0jzDb1yM6M\nrzY0TF1B1l7p9I2pFK2HJ9PFFqX/L5bKwBl9skME9JVDqC3aa7AVJSycsyvi\n/jTI5J9Vj0f+luqEeCqE94HnpDjzvXkSgxpPmw4gqZwJI6R/QM8Rs+orKqyU\nmmurpchx7CDns39SzwYtWrfX0kekQq2Y3pBEkAh64yWEabfo1ZvzjbJBx3LK\nKdr1sol71bWmoKJlyQN1BAxz21LXYgTToBP8uKNd4xc7XDa0siCe7tIsMBfo\nyFdDV2P14joRAM4rALfoIOje4JKvlGoL5DKBvpTzF8irtAxahxEnnQL0FjM3\n6VXK2hHVPaNiIB598B9D40Zs0/iEY0QszfPFEDG8sKIYqUE0V1w1E5MAjOYg\n646c\r\n=hojJ\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201028.999bc32.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201028.999bc32/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201028.999bc32","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201028.999bc32"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201028.999bc32_1603869486590_0.11265470006677836","host":"s3://npm-registry-packages"}},"4.11.0-rc.20201028.6f4722f":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-rc.20201028.6f4722f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-rc.20201028.6f4722f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f0a395f2f58c687c23855aa8efc6fe551e605971","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-rc.20201028.6f4722f.tgz","fileCount":142,"integrity":"sha512-uvIhXVcFsugqldVMAnT/uVQHjk9akGqHAyKBq4P8HNyrFAShk/eRqO9PE7JP+bxJjQ9jI0ZfV5c924mteSjMMA==","signatures":[{"sig":"MEUCIQCtLNWiwEClNj4uJyZ5RZYy/IJhlYCMnlA+oISwx582IQIgNVQ/4qWT5FhYJMVqf4Ms/QzfCzL1GcQ1q+9RBljFTo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmc+YCRA9TVsSAnZWagAAKF8QAKOqxTG7slYlQ+04gc/B\n4/7B3t6kTJOTiFTOpxm75XvMAO6iojrgm3XQei1nXiECjZhRU6HWlesUcGAl\n0e0rdAY4Rp/+EIb/+9TmuBtwBd5DbzXPpezqfE+WP7q7t76re+/mi1krCXbQ\n5Zb2VxQCT27yBXxwJ8FOVf4ym7VbqWxeGS4qP4TD1Dy3vd8Uqr67q/5+AoaM\n1PuCRBbvKSWAQ1FMC7NH2J4bT8hib6ouhj48zRC00zea6ZKhfsOmpfNHzvh+\nOcYqCuyk8UF0+tRpguytbwiLXLI7hHUwKqsrX5UZk0OXeXUHlVkAxbzpLhF7\n3rxA/oecszDOjGk/PEsRHdqNDXqoOf3JEhUTJk01toaxlTUKtBxcrqdM4Xg/\nEF/2vFixKfmPQ08wnpyxVAIGF05+87Y8Syn1kB/0G+5XRtxF4fUJEe3SJyaZ\nOnZrE7jvJFlPJztr21yZXl1sektlB0LM63Q0SPGbwQUBrzMTmAOh8tp+Y6wY\npQ1zW18PF2UNPFmJxwBSjTKeXUhZ6U3FJcQlIgcw60ws0H/15BFNzJMV0I6h\n8pBKfNdX1Ws+rfm3GEftj44l6IBPwGcHoQzkRHzL7D1l1AHig0RKjucegnnA\nH8LX+PLjHaCLLLYvaDdppRQiIS0sgKa5+10jDKJgzS6u6YFhU5Tz3eehKPvK\nSPo3\r\n=sI3J\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.11.0-rc.20201028.6f4722f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201028.6f4722f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-rc.20201028.6f4722f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-rc.20201028.6f4722f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-rc.20201028.6f4722f_1603915671812_0.8787048937218003","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201029.76cad5c":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201029.76cad5c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201029.76cad5c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ef1e4ae8dd58dc746994b617ee38733a7dc8dae3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201029.76cad5c.tgz","fileCount":142,"integrity":"sha512-ZuPfxfflmicU79wPkTjQFc1Lm6OT8pKn8zgnQpsvYEIqx3pg3+jsHm7b7O/C9sl/8BFSUhKQOK/iWjMJz7MqPQ==","signatures":[{"sig":"MEUCIQCtEeUF4c+ZqjGS6zNC458cGUqJWjIXdVUvG2ut5EKhVgIgLM0n3XflX3hRbF9K1iVmPrhAwiQOFZKcGKhDcMz53Kk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmmyWCRA9TVsSAnZWagAAHCgQAJQzHnAkBETgPTa9ZR+E\npCkNU4nktdG0KMx5Dct5mnvpLnxOlWqS+P1xHKQTYwXYFtmWc/ne2VCgzMpK\n96uF0yDQiCVhIo4xqOIYPa0wmJiFbRD/kch3e3TAtEiPU6zj7t4uvZ4JY+3i\nW27h1/XIK7QGWbqH2b7gVBBzG/nRNhNEBKimWXy1aeTRsfvNxA7e8jPKKX6m\ncw7YVJenze1TsnMwU8PXcHZ6x4nULbCoAmUtZ9qlZ9wLHURjprUSrz0/uOyt\nizfhhdB5l3Nb6ecQJUpoWxUgh2NWn/9/eXV7dUSPAq+e+Fh8dXENuCZsZe88\nlPmvT8QfRDPd42S2F2Wf1I55tXuwlxLG/eOHGhCBW5Zt/ZXiX3LH+AupF7Df\nMulff1H8CfLdnvdgq9WQ4GrrhJaP/NoObqkWs0yRl2qRelQG4rerKsJ0OKH6\n+zTadmmCCs8Fe0cpuQTdW62WecsBx4os43Rw51FYLX1VcfU3PQbd9BP43CXO\nTaKzhAa1eogK0PQAmNFcXOuwMw/ZfJ9zTDdromg2qa+2jnpfEwCDKO0h2bNd\n6d4Jrbx6sID5Yen0LI44uuQFHoAYS0DNytOB37naGFloVTPZe/X3WW09lBAe\ntrL1YJeTefWfxG2Br+lgq6vEnZzMW0aH6hp2VuLvrizM0KwZwIf9cYrJUOY/\nXXOP\r\n=vlpp\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201029.76cad5c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201029.76cad5c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201029.76cad5c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201029.76cad5c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201029.76cad5c_1603955862309_0.6857004547374219","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201030.307bcd7":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201030.307bcd7","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201030.307bcd7","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"cc8e0027cc52f49f606be7b52157c7ed28ee2c9f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201030.307bcd7.tgz","fileCount":142,"integrity":"sha512-kjArVxPFd37S0l1tvDAQLhRW2JREwttdNLrScWvYfP0J9QGHgrcH5HMcXkPLEcC4BUDmZymcYEYv7nh3X2HO9A==","signatures":[{"sig":"MEYCIQCZupndWgy8/G5sRQHSz1Gb7q04Zepxhh5pluIYbdDZ5QIhAOQsuK7alW4nSd0Gsm8E2YUlqsBJwtcLpvVF+HavGV5Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfm74QCRA9TVsSAnZWagAAp+MQAI1lqH7btep9c5QrdNOA\nqfeqGEp5DwgLsPMBPtrFDRX7JV7Y0qQTc6xdtDlgxWO+zIttHQkXCcZtLdA5\n4qBxo1078l6KBuxCBVvWHWOCyeYWQmYWJgpC0gQ0Kj9LLlrOndij5g04lATX\nbAmfVJPqEeMdU+Q9yJ82Ag+qtgD2xxm7PYY7PfBGvdwq6XRCrsjSBmkEr5J4\nzzE14RMfA+WgZ7QLOyOlaeL9BR5b9F7QpI6dO2XRvivotn2W+qRJxbVN89E2\nY6TFsFGGdVdqaO04k2NQv5v0YsTCl00Bf3/0XjinyzC5/DGmXH8AJyhEKEOf\nVhxEJpE0TLDrezME6S/R+TWkGUj8kL1ptmaMkbeH2KEbhDC3FNvt3MKYSl/Y\nVVC2HzhV6ocgvs/amjUU66gLJYWlBH832FTHJMVYTBbLKMH0s/iVdz4Vopv/\nEIQ0yeXs2kOoHO+VGHt2/B7VAq66OZU7C2zSPvbDBRckG4rK2yTu1+jfulo8\n0UuszEEV/PrmhgXY4jZibejga91+6oWbbKU5ZLvyQ9QPxqJRkVF5fPYoUvOK\nEsn53ygydHgvLFrAMObwxnS09tuE6tKxH8xC1FkJhdb6ozdG9dRV3bnRJUQR\nTuayxNeAKlpF/O3DxrbdTVOgOZke8jyOOo2GSlBAEWYJLvgpWxPGHdZnurSY\nX3O1\r\n=NDUg\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201030.307bcd7.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201030.307bcd7/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201030.307bcd7","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201030.307bcd7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201030.307bcd7_1604042255835_0.3938075860567023","host":"s3://npm-registry-packages"}},"4.11.0-rc.20201030.a9f9b96":{"name":"@microsoft/bf-qnamaker","version":"4.11.0-rc.20201030.a9f9b96","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0-rc.20201030.a9f9b96","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"740ca6054e74fed8bb27a3a265abd156c94d138e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0-rc.20201030.a9f9b96.tgz","fileCount":142,"integrity":"sha512-VHRL7Sq99h5gZjRaG2JILUQIRAZRvD62iB+YVdnfpad6OLKO0hjLWKZRyS3N+yqQeWH6dBbolsgcG55iU22dJA==","signatures":[{"sig":"MEUCIQCZQTHs1q/uGzBfvqzOsRZ5ubgZ8K6FfGkLNIo5hoMTdwIgAyVl2xRs5489gtPcU9uPeYs7RsY47lFDRODnBEotHWw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnHisCRA9TVsSAnZWagAAKBAP/0z37frdljRZjQxfuMUu\n4Z8tYjSjCJjoqsH5/hfdq4OqZn9QdYkmH4GOKLtnmnCyNP7XRTm6SGeLIq4B\nykwi0Rla/Os/XGqSbjpHwzRaNDtwL5ZTNEOdDbVg4R4WVKMLhQhfiuoeidDN\nr38U9KeSbskEtcqshvR94+MUtXKXyBqQCeJT9F1jnkq1MOdlnwMew1kTJ+FC\nYkTc4Psg9NsXyJnYVeB6LpHZ1ttbpHYoquOKvIV00WkoWo6c1Bw67Q4d2UZh\nRpP3VHnKscVB6FITg5WsvPvYqH6HgcU/2wa1Ji8k5E7M+h9ETEObzlhScqe/\nSFhtlZskK73fS8UhgiC3ADgDbBa67bDLuZ5caNpkDqEPLXBcPIU1ZQORO1RY\nvkQRmY6NzQssac/OVT309JwAX89Db43KWxY5ZXcDxbd6FQsNAy6jZGA17fp1\nFTHCagt15LSyUgl70GXCwJTaujTFvFJKrkaezUs9Y3uvXcLO7T9m/azHNBwO\nFejT5JhGhj3BNh26V1I8x19O2ih5VADk2Yi5mo3mp4EYH55dNU/yWSz1EDoI\n8uc3oS6eTzCs7d/VdNk0lbP5di9LBfrMLHH78O9cr3mpCwCnb/pHIE90Z0WF\n5agOlqhvEHHVtRr1RcbL0XwNGKMwkh8Udy3kNaNBFZRlraYG00k2nMTWlZW7\ndRHC\r\n=W2/Y\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.11.0-rc.20201030.a9f9b96.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.11.0-rc.20201030.a9f9b96/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0-rc.20201030.a9f9b96","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0-rc.20201030.a9f9b96"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0-rc.20201030.a9f9b96_1604090027932_0.943869916720594","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201105.f7da1b8":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201105.f7da1b8","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201105.f7da1b8","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"409b556bbcfd0f5813bdf9065fb39b841c7eed3e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201105.f7da1b8.tgz","fileCount":142,"integrity":"sha512-PjnoKl9s5Il6QAXPNyrFwOLMusCP+L1H1wvPPaGfLSXM/iBQ41lp1rXSH/q//SypOjUv2btUCUhkMqyEhBnLLg==","signatures":[{"sig":"MEQCIEDtPqbWgMFn9KLw91hbx0eNFxtLZTnq4GeoNv0UoDgZAiBfGdCnFhnmCNtj3KK/O6OKD4ovXxk/euwvYAqTAzUWYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfo7WrCRA9TVsSAnZWagAAEl4P/RBqqsuDmanXKJbRVuUm\n6LXR2i3tCt/Wrkpf8rxxtEvfmz5ucrdcn0JSOSP1sjjJ770GSgXqCSkvm/7O\nJxNRNYrlv3pgRYt94Vdhs9z8elHuqm3fORCsfRRlbp3mv4ron19Ob9XHHTG5\nXgCBIG/6+jBGIlqe2AptSpMULIEO+XiiRAFMDerVqc91pZpU60We1ucGTov7\n46nLVRxViFBBvpZBCFOQCEpT1fA1KzRLXD9WTb2F0jWrhr5puwhGerhRalmb\nAOVJf9AYG/AIeMg9r0u80HIX343eHoJSeCj+PlLrWDTgnmQReeGdPXvOL7Ak\njvaucIo3VPAJYGcDdmEoklp6h7bLSykm0ybySIrMHRaGj8sNGMIRov+cz+uO\ngBxFj+aFEfEfnT/lSejq4hclReLsdfmOROttCBZdpHB1xgXGK5G1uz6hUD0v\nk39ZrYXMOXAK6i3711Nm1+7DK8yqfatHXUNHVG5AeiHQYfMv+sOGnth36fpQ\nOO6kYoCQ9QrQP62u6VJC7W3BnC+TW49YkPbw90fLI+wk8nNfJEXQ2P3vtBiz\nwCnQp+Qo+WdKR3RYSocxs1RmE6bMyxHKH0B+hSC061L7JGAKFpXCFCR1Zcnm\nVzv/di0r0dSL382W2ACrnwkSIwipvTA0xw/9ltaN5nKSd/xDPsBexSSoizgV\n05az\r\n=Xsat\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201105.f7da1b8.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201105.f7da1b8/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201105.f7da1b8","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201105.f7da1b8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201105.f7da1b8_1604564394824_0.3235229218897435","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201106.c64ea80":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201106.c64ea80","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201106.c64ea80","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d2bdaddf9704dfb549536de1fce79969151ac9b5","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201106.c64ea80.tgz","fileCount":142,"integrity":"sha512-dPcpo+CTcHmeRCAOn8wiDmg3ckjidrKFeWZC4SGQAuUijjLVWIVsSis3Ww1c0F0IVUm2XHmMMDWM/y21xCTmdw==","signatures":[{"sig":"MEYCIQCVTpgaBedH+bFGZYpT7RztUXjRRrShKutr/XMcpyduaQIhANhvj+QQgn7VHJ7+dN1nPXgNvLnE06iWPGhjnOYr8aeB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpQZECRA9TVsSAnZWagAA03gP/2T4nCzQCpT+ZrVaEl5b\nN3KSVjg884XtuUQd9wsQ3q6FxaH7NeUKsDUegoGs2r5xETr5hXKsHeBGJ3+x\nS7BNBWMhZJl+vNHEl64/Qru/vbd31DAe99t0A1yBLJ27AeQ9eq0UAD65y19A\nWunvqBxSbQkUmbtsIBup/papsjS1qZtyotiYGGcQfCmBLQiigNhxD91jNc8E\np18FNvFNdjTrY6CRfvIQBfFlas8x+QWx7idJkGm7ja3VOJSW6mShOgPdeUcw\nLc0Ib4lm/ow6ZKMAG8pweA8tSFDPFflZeMTiHi7BRqdv2QCjmxT2I6gHnXOp\nmP13TWFdvs3iSmTuUZU/9qWX5de8IDR2EBrerorjniPD1RGFj+Z1y79eFGL1\nVXFEEFrDkSeLDTjfHE6YDL3whGE2IDhptcTRgaF6vuXX6OAAwtojY15nS9+c\ngUDCjI1XcXbcShPjYCeMzQy8vRhz7hR3Lcizrd1hU5NbcVVBQ9trPujBx2XD\n/d+1dmK2vCpGHHBmqJbuBFvBX/lKG8tNDRajl5obscFv8OjFVpsft6k1aWK+\nDgkcIii0GNFrnL6NluBhhubOBXfW6r/zG641miwbnxmgvSHEzXDZgdKmqFID\nb3wTMsBWH4lMH3fFROHo6E77qtozL5pglYQE1dhbkSIOU3YCdVeinK/Og9fu\n7RuR\r\n=tuIE\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201106.c64ea80.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201106.c64ea80/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201106.c64ea80","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201106.c64ea80"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201106.c64ea80_1604650563600_0.10502765810172177","host":"s3://npm-registry-packages"}},"4.11.0":{"name":"@microsoft/bf-qnamaker","version":"4.11.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8a8ed079cd25e616edcdd8e7d04be93d1524ae35","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.0.tgz","fileCount":142,"integrity":"sha512-qp4XheAxJnMdCWdDGMzLcE6YkmQI57jdRMoGkx9WdNSLus5GYVCrpwyNBHrbxuGKEaD91LL0y8JsCHhZZRKJYQ==","signatures":[{"sig":"MEQCIH0P+/Ayv1F8LXohhgWYMomEPQaUBozb2n9vqL+1JY3tAiACn/M3i55ix1oLMpExRLvGOlNNlD6bsggwonPt/5VF+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpdK6CRA9TVsSAnZWagAApb0QAIWZIVVtkEY2HnLqSzIk\nOi8GFP7/jKEnwqtz2EHvTH+uxe4G80HquykPFRN/RJLFlxdXnd/rDKMBT75l\n9SKeFRAPHAtCHC5ENAWgZCSvArgY5vcONBS/K8pm3MG0vBp38BmYwdngUu6i\nGMmFpK/cruMK0IES7vbQN/deYZ3sfmWWww5c/zdWEln3YM0Xa8azLuBSt1OI\nq/igcaleDRWFYg27A+0bUGYesJoGObId0y6crOI+lczhKKfO6DmM876U899T\nmW1827IRJPGR2R+mnJbyX1+7RbSR0qiAv65Q49zoAFDovXB0qBrfaa/gomhj\n+IWWNTHcd5wnXrso32UtARTKEgqYFRI4Px6oNn4sdfoMFPIPNhfrmfHaXSms\nM1gvPeJwALnHxyRQ1syfBhwIcBe7BOs5NwNaZubgHgqKk9CVA21m4eR2xNAp\n4EMZdrcV00rX4MNnzD3/LKeSdXBUGklyoKYQiZo14UqDoGVZcaO5CiZ4VUMa\nBazn8zro7177Rt7ZSdxgxRB7Hhnry5xL89Ix0dfmzLVzBCzxrYyFTuvt4hZl\n3QjEFAyaF2lih11Elz55fhiWT96UANmb163+kLKkA1QHMRLIF6uog09hOhAN\npnLnBqzeyK/UggE1asiGyVCB+omtAZXXZMz/WmCG5RsOeU/DSd4OH13LIUCY\nzUTd\r\n=aggv\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.11.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"12.19.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.0_1604702905607_0.5355284688318338","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201112.f9270c9":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201112.f9270c9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201112.f9270c9","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0c2e3523fb8bc6824999cf3a51cac889c7c23787","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201112.f9270c9.tgz","fileCount":142,"integrity":"sha512-ukB3tqj9X/oZo2yQHJnMUEAmiBZYxGCNHyCD8lzwIAqnczNvJ1hQYXz62QejsMvxxCT1+YOc90HJ2rRz482+4A==","signatures":[{"sig":"MEYCIQDRHqS3XsNhpcVd0yVZrDms/qL5C5nrwWomw18yXIcavAIhAN16jO6Dc6cIF8N+B8YLHf1S8yo3cAZCCCGZjCOfRbzb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrO9PCRA9TVsSAnZWagAAXq0P/i376qmIKhNbi/xcUFh1\ngGtqrR6vGDJEqJee8jZeMC6bpLitB59YjRhZq9IaC4zX3pIeJuYQ3JwzMOfN\nLuv158cD/n9fC9HrcyLyq4Gx7TWBFE8DEti2f4EenldhRdzCC0xsrUjMxYPA\n3hOpEh81Zl19L3lyCnxzXp/toX5bUF4gPzIEjprr5UOoN4K2TDlf38hrqV/V\nWKW7VjzEFYdQQyL+b4FlC6WaW19iX7F06nmxrYEcVC+zrNUq3VX9KQIS3TyA\n82K+BCla8Lr+Bz47h7JOMb2ddasMZ/dHHidBye9gQMPs3s0OLi6UN1rwA80r\nrxoyGZvM/td7SoMP6P89zHxWe8v2Z+WUwOJGnZxWUXs1XYk2e1pIp6hbWg1j\n4Q8XpuW2x3ynjAlAWRLsnUfbzFuZcbhRAxtbHuIKlIJZMQLzh+c4Ve1SMv3o\nTmfZlYx3rlMOkfhLPsMvXgApDoHDRTz21r9h3qCvLNVKm6v1lCh3nsaQVcSl\nJv7Z4q6QSf4h2Fy4WoyDs1d+JWLdxk0oFtJ+l/kAh1obiJs19ORW7kPvTBm4\nkepGiURsFbsYjbN5JNdGk6dMy6k4xH/r2XNpfHpSEtCfeRFFttTdIqT0sUAJ\nJZkoCNULhf79V+adkBvDOrn4NjgPpsyvypCcr+qvyKPNSPMPv+4+RWC+3neM\ng6Cd\r\n=UCF6\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201112.f9270c9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201112.f9270c9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201112.f9270c9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201112.f9270c9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201112.f9270c9_1605168974526_0.8022020198046014","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201118.1cb4bee":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201118.1cb4bee","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201118.1cb4bee","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f3648ae1c2aa6ea8f72129ee83a0833637b28402","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201118.1cb4bee.tgz","fileCount":142,"integrity":"sha512-P/sY+ey9KvdQ21pz65sK1n3nYzfHHvSFAY1iP30szPXtc7HYI7cfHg6pkJATCItmVxNjSXijCO8CXXz4ZlEBCw==","signatures":[{"sig":"MEUCIQCxxru+M81oBZhNPjHvEA7o45WkK7uPAISrmWR42zR6RgIgakDMsfxKDpVA4FpQGdsJT2wyh5R8bBIcilWp9tKErTw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftNiJCRA9TVsSAnZWagAAVxYQAJixjqC6N0xA0AaLegiM\n8/VatygQ45H1se2qYYWe6aKr6LoU6SnX8Mr7vbc4mIXi6pZrubCZiH45M2N1\nm9iepSCvMQ9SIP17exB1cbo1hhaXpJXpjUTEFJoFGCpxQuRx0IyerDLjYC9w\nFZjl+UNGpwo+XQgMaoIyY0CCN3Lw9f+NRAR7Qgnhnm3v62GATmTqDcEYrq48\ncFSrXNH/Q0I0Sl5dvbxXFPhq7wzEFY3CoRXjBu2TrorwDUJ2G6tGhtReXb8e\nZS+W6UYqvcN66sx/6+SAMJuF3fj1jzjyh4hYuj1k1pKh9pZM6/wpVisK1Es0\ncrUwQXlPyK/0YdZHiXzeovQw/jI4JUStULU9JYDmXLKX9ReN2jLl5GT/dpzY\n3XFy7upnHO2xUXa/jZeYg3ynz9oqAkdDwhL6tzBY/np+IEbtIhE5Cm2RZSPm\nmALLaabvSpHpbyUfx5OElZxd+53rRUwHZsmGksb7LrOo5zW39LFqJwlYKrfC\nbiEsTMPDPfnG/VtuDMIU92wK1nQp2mkcGR9FLJuaxKlMoVr2LQ6bePWl96l5\n6PBMvWHj8elVxXLGGmmg37E3PJbqmNp9/BnNG7Pa8/9u7WL0F9jN39UaxICu\n/FhhKkDiD8KCvmIxDjwLZQJSqIvmrucvvzp7XffpDwS1+zhoPffx6BEw06vv\nulae\r\n=HirL\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201118.1cb4bee.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201118.1cb4bee/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201118.1cb4bee","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201118.1cb4bee"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201118.1cb4bee_1605687433480_0.38904528145230066","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201125.454bc64":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201125.454bc64","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201125.454bc64","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e180531c7d28e438761194999184001916369d9b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201125.454bc64.tgz","fileCount":142,"integrity":"sha512-W155xSa6SXG+O69suqSvhKWV2bMLmv9wPrUBZeI6nyhO/7GATYM8pGhHfCNxlK5MlIiqBBSPbcQRAJgUdbSknw==","signatures":[{"sig":"MEUCIQDIYdK4o9xrkghuh1bLuSbd5xMUD2s4RjOw95/bH0lHXgIgBeXFeSS5koKLOF44OxeoSBp7mVxRj1djeyDL7FFTvSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvbzUCRA9TVsSAnZWagAAlWcP/1aT8zUuPDtPRQ9ZTh+s\nZsxHxVd8wdhLVIRgasCtOX6i7Z2w78JveRTIUfAS+cgmw+mJExDBu6wfqMqk\n4PR1hQvXx2/W/SK7aLnCPp/1GqjMEZnOTmlZoQz7lDTmVL+ZwErr1rSDXegJ\nrg2pLHzbsgnI1m1//mFWdIrgI8xSkHYC47H+Hu1WHv8EKMeoY0tNPpEPC3MK\nZwIfW3wYVomhhIt2CB7hAPYRdsNaNYEgtxUw+Yg66yaCVNmeEtHtGQzS+M9Z\nr+CZTlxRCgN1V+gAghSLENQJVaHzg9kbNKJuyHLVoz7sxw+E1FSjeb4VQq4Q\nSFLUJz7QL9YF6cj+urrASaZCfsg2NtNtE2/nBDr6l+vKtJfNjfZDka4VrfVs\nqq3FyD4nVJwxXz+AmRPjBoAZALYeVPHvbGF4qptUOXDeK3rGQnICMJ17l9KH\nHkCbrqfga8McipXohXnzxwTvogMAELfPT8+ZQgLLTT/wYKFJliz+8j2mJbJR\nd1g8uCjBapne7T6o1Eu9xZi3o+UwXhVkVHQT6j/lyU6gEf2igg0OHx9+zTWG\nP0CXGd38geFsTsZbG/odFkOQ8zNvx2ghUfJPP6yJRRgmdUCN+i6R7Mnirs4J\ny+RkzCLGmOu4P4kD7dEVDbt/E775ss0QUcObtrx30qNiGplw80ZlJIjJ/nQg\nLMHr\r\n=vcOR\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201125.454bc64.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.454bc64/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201125.454bc64","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201125.454bc64"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201125.454bc64_1606270164464_0.33365285743006745","host":"s3://npm-registry-packages"}},"4.11.1":{"name":"@microsoft/bf-qnamaker","version":"4.11.1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.11.1","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"fe01f3d11fbc6ef2ca25ba240ea9d2f6c33bc36c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.11.1.tgz","fileCount":142,"integrity":"sha512-iqGe6In7dPlDlbCHrJVfENXvQzttp2vvmpCPs6fIAqvw8i/3o3c8x1r2/rzKo2QwOR7mwxzy+tMje4TgUeUNbA==","signatures":[{"sig":"MEQCIFV5c4P62qOrHtrgVMoEl8y4AHeYqs/w5o7gLBOR1n1AAiB9d3liaeg9WEVBlJl+59DOyXYE/5lFwePz1DGYI5AH7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvdOqCRA9TVsSAnZWagAAl7oP/0O8uszpI6z3W6MNafni\nqzodbqGK8EWNkbeEAlDJYuJ7exgVopZlgVfIMpxVOLMqnSOqzfDBThkYq6Qy\nPh9MJu5n8b9B/313lHEiAHUnane5qbUetZ6ncXgxErWy6N73ipDRjj55upD5\nTGpWmohu6G/VzIkJDfXlUNRhoFD3Bei6gHai0A0CiSCXJN2aE3GrSkPH2Naj\ncA/zknJJVv0I0TcxFVD/SZzbUYQAF+cfUjLPr1WdWnXm+/m7SULoEvovTdRx\nrL11Db66oz/W8SLPYZr8X9kZojvkp21gQjsQqItK8R+w9doWqJDyhNrJjheJ\ny4iVvjHZ+PG7DPv7IkhCP2gt0gpKHRnPhVz9Ry0pEP1HjdIVzFii3DbOvpFD\nfm8Ds/prvYxF2X3twtlbf/dgpi6lh+6/aEeIisyzaTn594+87Kxav8tHCR77\nkzhproB/Pzz85Z5+YVLpFzcsXWpKTYoA0+AD/r1Sw2j3kSO4JFBItyLZM8XG\ncNX8MpiT+jchHJHNHROgq3KYN53/9zmUmXe6SJugxwTl87pXlMze7rM9+vDo\nYNeOdUSxtNtfkW61rFIguNRiMEA5HK1q0ihyRFIARXXp21E6gExsOr+Zbnvg\niWpnjSzlyPPRvznvyFdyHgLEcsjfezu7ZMIDm5wnqnl2/4w2Xp6LjFN+L8Ke\nueWc\r\n=okor\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.11.1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.11.1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.11.1_1606276009570_0.8296315593229802","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201125.77567ef":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201125.77567ef","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201125.77567ef","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0404aa5b2318c5ed2aba9043cf2089761bb1d9b1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201125.77567ef.tgz","fileCount":142,"integrity":"sha512-EmZgCx/ruuAdRhiP/FCFep3OXsurQk0LzD5U1bf84kwkCUflWAjT9+ymLeKMRiZEg0WDWbAQ+EWRQrWH62II4g==","signatures":[{"sig":"MEQCICONPT8twJD2M42SWA0D/lrYA7oCOoefe+bi+HOdxNzcAiBuO2oYw4qSernWEpLSwwuTNb131ptZmzhqGu0GzZEWOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvhMgCRA9TVsSAnZWagAA8/wQAIeGkNh4uaeiHdBh7Pm6\nrt3FYpdA1uLFZVzuaKYdxi+KHrZlnGCu/tlPibW13h9MVBOTmmusViemCvlh\nxs39kVQNazHZF6MmToceNhbPQDbkW1aIFJRBRJwJ0N7Ejv6+VWV8YYAoojJN\nPMZY1j00W0AJqLxlwNEtOoRMu7ZzCEalQbKF7V6LMZe14kLO/EBKQ9nRo6cj\nBHKVhmNebLnI76K8u2PAuCV80eOxNlUtbRACk2JUB5FefGI4ly4Twd61SrWf\nTvT5vNI9w8+gKwYjaqnoLI48pk44hYTsA9TfD4PP8qM8HzNM8vK6NAOJHgV/\nDlCm9E53wVBUwX5AeB/wztBxoI1GLAVKOm1vLrxoCEu9XGQJLHvrq/mb/Lr9\nEOI1jqBAusJ7MM9gfqJwInREQKP90kfie5SRCE+v7lca/VDtlCQPaNqMjKoG\nG+Ry463GsuqgxGndSkRmt9cmnjDTDA8wIu14AsMde5JX1e1rGo7s7k2ur9gm\nNdgLvRlcJhYKJPGMw+PoS/u50/LUpBXy78LSWYz3FmMMr41mbMhzeav4Uoiv\ntAFqLlroePGORg5I36e2++6ScPB9HcPr2ZJZjY0zmb+T/ZXe4+NkqAie8dnV\nRy9svXxNs1PndmgSJamRCjx0jNt8aQWxx8POO7EkpoAKF/AuBJpZDiukgZom\nCGpR\r\n=wk1p\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201125.77567ef.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201125.77567ef/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201125.77567ef","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201125.77567ef"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201125.77567ef_1606292255669_0.8396346481082642","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201126.853f44c":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201126.853f44c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201126.853f44c","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c0543f91c52224e6b8e1dbaf8b7506f45773a388","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201126.853f44c.tgz","fileCount":142,"integrity":"sha512-nsxo6LJMRsUP5PKWF9MRlFe1YnFtMHlQj+HIwIYqg6/fPWxJOVwbTG7nuubDCdZKREAWoDbagyEX7ps+OB88fQ==","signatures":[{"sig":"MEUCICAWJQby2KwYT4G+RdPZ99yKQFP0kLUMb7gYFEbp+aPLAiEAthDBnAlMCGaPzrcQCN6UkozACSY4l7dGJLOE0O20ImI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv2SfCRA9TVsSAnZWagAAXJMP/0W1HhAxxV6qWVq9FIuS\n+8gvy0tzYxTmcrN1gox7dyG4VlFOwy8NYvnihAnk12PfyjbX89C1cBfsp/c8\nd/SmIPrEEWiTkR/WGzpzcx07rL0WRP9GR7oCkQMhKKyKk3rtvV5VobisAqqu\ngcYM7Dulpv0zmjSClBE4+AMeDwKqaXOCAhhkLyR7frmz/XIXDVVu8N5WaltJ\nQnOYGkocfdp3j62ft6fH4rGA+3NN/XJighzGIxpSs66VAGkHnAkZKBT8tZS0\nzoxscVlsk7ZBDT8c7JRAuv0F3BLppoLNmUTRG/byT5GGRoXzDDxUTqdBnDIc\nvfbqvrD13HpOSmwRckbUnaF4pgyzTP5oJ0mt5n8DNJL7XqIDJMpKFASgAgV2\nrPyXiByA4nGNOZVTqIPR7wanpL6UFbnUKYYvc37tpZBjvMufysdD1tNC3Ojy\nysyJbdZcFEW4KXM/HOiH5Rq4kTiZYT+YoxKpK+JuCS1jBXdDlDR1+p+up+HJ\ndq/rukd1HTrWnohozXTXibLFWXMK/rSP7sm2suOyKbo2gjX3YTOd2hr1NVpQ\nCnJL9nGvhZ1Jfkbxzrx46CmqGNaXaT7PG7h49j8Jim+7LkFwrwQm3kUCajLo\nNm4FFjU66qG4jBttk3nSj9QEFiwQqmhzDVJlTDo6kAaRwGnvLO7VY85FgUUt\n6wDG\r\n=u501\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201126.853f44c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -h, --help                         qnamaker:kb:export command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201126.853f44c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:export command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201126.853f44c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201126.853f44c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201126.853f44c_1606378654525_0.732237879790637","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201201.1253a5b":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201201.1253a5b","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201201.1253a5b","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8109676767d80084611a151e51885bbc021cf989","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201201.1253a5b.tgz","fileCount":142,"integrity":"sha512-ijkWLqDAl/xzzi3LH71zmEefPKkP76tA+ZmXP2UUqJ6GHEiRqAUft4sFMg5tMMHFoMNZdp01a6ZmQRFkMwp+ug==","signatures":[{"sig":"MEYCIQCuRf+C0F4LjI+xAxPlvlMR7yX+xQSViG/NofKDs53/GQIhAKQt+kQ4hjR49TomLuVlOzSoLhjjYy3IwZImww+5gwiQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxfvlCRA9TVsSAnZWagAAWpUP+QFnTYx0Y50oH60hyxMS\nAIfi+A2PzjO/L/F5iuvGsYAv2PMkqfpCnTUdiYPMm1NPlMmGhcvuN7KdRxNd\nmuIt/vkTFNuNDdSHSbRo2oYC7eRvjurc9XKL+5v+q1gVLs75cMv7B5VjkvoT\n9ZXgQEBFmWJu2XK9WnfhlWCD2Pjo/Vn4M0/KM5nHVNYlRIsVB4LVfdakPppa\n5Tyzzf7XdsFwSwhOAipYrC9Hx8mMiWnHHJXfDZIir7tbyZCTI3Ly68QpPR0m\niL421Jcc3UBBj3+oGd6X12NXaBEpK3QQ+1QG9K80NwclODET256tZyhh6NXo\nzAqvHSHBPibuqrblTpR9kLU2uGeixAd+eUPz2GNZgf8mOAIldKbG+tpY9Vpp\nlzkJh4buNrjr9b+j3MP5rOCqxtvL1tr0fma/oNV8XCUlUricCg470Y4c9ASK\nTy1Y+dx17Zsam2BGhK6+I595pD/KkvF9RYB+wFETfqJJSb3NT6DY6ijE794f\nTxvTcIQ40dNEP8MLNsfkkiTur4dtHWApoxU3C7ZQ7oXoTb3bNXQ5XjimJt6Q\nplozRxMVz6T21foCCgD5dgHnHwwtHGP/mrMgOW+LWEzztavLR0Le/m3RlZsq\ncT3o6m8Yjh9FLFgyllONxf3TeGPoUMdEHbJTKu7jzUY33syfN92E09uOyV/M\nvoex\r\n=rmg6\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201201.1253a5b.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201201.1253a5b/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201201.1253a5b","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201201.1253a5b"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201201.1253a5b_1606810596741_0.5768875561103921","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201203.954f006":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201203.954f006","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201203.954f006","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c4ccf7651c8d21295118e5bbf7f924e2d3b902df","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201203.954f006.tgz","fileCount":142,"integrity":"sha512-60vcP/8yOtJ3t7s0JO1XhsEPljl5qgIw2lMZrJXdeSlE5qRuEJ7cyIdlg5ckD6KVsOasUtDkxLAfXxS5nXC1wQ==","signatures":[{"sig":"MEYCIQD/2SjKhV5JB2cDVu2F/OBTbrNyQD3UlpXSFUvj4tKVpgIhAKXp1l2d35ilHrtKCoUHroJThGK7OG9OnLeHHd5saWoj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyJ75CRA9TVsSAnZWagAAP0EP/Atjb94Hk6t/BV+lrNpj\nY2e2On47M4u+wCmL88Sh4Lb7JOg0GpO7yKd8N+Ju9/fHGQpZgk66BWOqti90\nBS82YD8JOVFusdKmx/Uo7qCpU6/V8J5QDvaw5LpDWczWjBwpq1+zIcz2MePe\nXu4O1Go0GIl3iYZyx1AGsTxAuo/YI+l1Dv+OsMp5R+BZ5v3GscUI+EEAEwp/\nsTOX6xkIqODG0xqXarsylkh/QqcDVMKmZPM/dg25RH6AHI0KEuC8IfnATwvq\nhi+oXjDWpf075Rvy7L/0cet9BRXjbF5bF5xDqcGESY62mqjE3wKcYqoDCWjt\nPYd2MvYj+vrUihx2yfMKpeqb8EVxFxizCv8zTD6iPiNwA0Cfe8nAbuVZ/ip7\nIUBjmWlQDWRFa7V/eMxkzYohya5ENKHtrNw92vMKPJdRcbyzeVDEXxK18eBg\nyZZAmtDwjyco62Po7+CLg8DN3Zk3ZbB9vgGEAcVcuK/TiWvRCKGdtLWmffRz\nQC2vdd6jppJlSwJ6UrIjYunV8NSXV9l3QyPeEPBnOiz8+uxhPSSSJtXU9hqq\n3xte9eWleL4Q4TQ9P9RgObjBk2+PKqi3MUXC9WtL9/J5JbMGD6pXT+k/aRnx\ntdZxWsrwMjMHTz4DcE0ms68WPZCzE632OA/AKMh5XPx7derADeni+5n3MXFD\n47Hj\r\n=418M\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201203.954f006.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201203.954f006/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201203.954f006","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201203.954f006"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201203.954f006_1606983416694_0.17171955811448059","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201208.3315f42":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201208.3315f42","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201208.3315f42","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"01334f54327af46a75202c461bbe6048c0c7b60c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201208.3315f42.tgz","fileCount":142,"integrity":"sha512-GoHEmHxu+SYHs7vZdMc4a1JN49JNAaKNWr4Ui6eFSqMCyU2Bqsfy1wBVYLOF7uWpG+UM9snMRkyKgOtFFFEt5Q==","signatures":[{"sig":"MEYCIQDG3H6ZX+GOdbFn9BWix11kzF9KaV+fylbDEXe/O39DMwIhAMF6K+ANNSu5VeKLUmlNtbr8xBTkToMese5XOMBgPzAl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzzaJCRA9TVsSAnZWagAAKmgP/22G53wyOu0nDVxhTicn\nlJCtNhiSAN124GbkgtybDpTbl94Ishto7LbGoxc1xFqH8nNYVMAKnvs02OWc\nPsv9xVfvhEF2lqZ8BPOwQhK4nBYFGPzpmi902HudqsHIxAI5S+GQWdFCbPTB\nKRmXtUTSfB18dbgHS101aWJyBMoolpKAVuPO1qihG/BLKNcvBKhIu/NG3/Rz\nL5UGrVinek+i7R9txxFJGXBOFGNgnYt4wlVTbf/rsVB9YYeqo1A9eobCiqDJ\nA1fXMXObIya//Ae0OX+6YYz5dJSHbEMJTmQjG+V5Kl1ex4LCI+O7I2LeIAen\nkA87jjV7liLqkCGpHeryJcfqSa9FLRMiUtE/eH+UQnx+zcbSnvQorVdAKK5o\nG0jGiiRnYphLqOxFKCjD3YF1mdqj4leHzNe0Lg5VUDmDGcgjGs7E5V8jMBJt\nwHfCGyK0GBJMVaLg/6ZtPJHuBmGpOKari++KmTGGdpTg4kyJC+dikW6niBCq\ndOdXxq+Yoow3DFnNazvBQayd11BR9pltLQ1GYOjcfcQothlmREVFmlfi9LmP\nfjZSBQj9JruUdT86L3ETNTal2HbhHE3+Vw0CVFMDcDWYJD+hbuLr3w+UJC2u\n6RoiS/GOhkTMOXX6np0zqVlETuhCbH/k2BuYjwKx3YCPq43u3oQJG9Fc0NTs\noLHS\r\n=TV1P\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201208.3315f42.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201208.3315f42/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201208.3315f42","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201208.3315f42"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201208.3315f42_1607415432714_0.5309158157652638","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201209.a2ab9dd":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201209.a2ab9dd","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201209.a2ab9dd","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"13d79d95c14b0f207766c9fb21571e35d9a0b6a7","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201209.a2ab9dd.tgz","fileCount":142,"integrity":"sha512-edFnoSiL9i61x5EORMBZmsg0c80Ys77Ke3sFw4V9KQPqdCBWj3QRgJYqp/Q1qLgbyqsAEM+p03AqpTL2zgbE1Q==","signatures":[{"sig":"MEUCIDOZt48Aegkm4NIZWwSRPPX69oJG5Gh03gY5j9oeE+AeAiEAzaOubeltUfj44W9Ps3gig2TYdcV+xBtqqUMW+zShfbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0IgHCRA9TVsSAnZWagAAdHIQAJhndYmMQu44IIfAmZ0d\n8IKAID8wHibbQamF7yYxfI48jIMOCak0JxMPe84EW2DzidoXe8XgysQlPmFM\nS1NfHcgP4hLobezdgKuXO6Y1Xyj5WkqHkKmkmOc1Ztm1hDIgRixgiFQar+Jm\nui91pMjSr23+TBMavF30RxiN+4208RKLvbrHJodBClSr7MssfaPg34cwnNU3\n8bU5ajFEmMF9VH0H6UlSFUTfkwjbhJhqvNtxDJHWFsl6l4nPOSdr2pV/3wxG\ngL9BUAv6A9ckHfUcqIXQt7bpSeYYOm/aNggAYfvflp7lytDjOh4c3vEQPCIi\nqCsltVbkDLjD4eh4fiAgwtnaNqGD5GUp/YE12BYui2Y2JbQ/is3FAKqbdOHj\nfGzHLYLkzXSo4H5bxHt7Ei2ZTSCrofScSceamvbeMkWLMx7ChDUChNDrdGSy\ngda8aCHME83bTlMNJpMUvoCPTo7FJDPEMS1XCcNFCUlO4F5T+lxaP+AAZWB8\nF64yCsyKflMzQMIOf9MLFGWCwSBcLhV5QHqbEA6IVylb1ta+o7o2/DhvDYr+\nLJeBqRfnIYXIaZ2EkMt4DCm8gbljd0Dhm0GJjLsmkjbUyUUCcXh/jJl+aGZL\nuF+CW38TH1A/MeT3E9EI2bAu2vE8JnCUrNP3HG92vjqMZx3S7JOvin6DpLFy\nAVJt\r\n=HqNt\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201209.a2ab9dd.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201209.a2ab9dd/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201209.a2ab9dd","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201209.a2ab9dd"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201209.a2ab9dd_1607501830453_0.30158822671547925","host":"s3://npm-registry-packages"}},"4.12.0-dev.20201211.e06f70f":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20201211.e06f70f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20201211.e06f70f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"213b6affffdc5fe958372dfba11b3d1e474d12a4","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20201211.e06f70f.tgz","fileCount":142,"integrity":"sha512-lcdhDE/UnT0yspT+H2rjp2tNeasjimkqeDvdDupJa6owD5gwMrTPj83EQllGdilG5LRtnaG2NxgS8NlIUWAiQg==","signatures":[{"sig":"MEMCIDLBR6uRY5d33H5o9eMgiYf87GV/GYjVKSztIkeNxTzeAh9nZqY33q5mg7qyFjH8lPabySrnlLTED5OWB1yH6Kzf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0yrvCRA9TVsSAnZWagAAgjMP/3fZ4l4F5fdYznytSg+4\n7N78xZMWRWuEGbynUi9gf7ilRxrCg0ZOANgzHHJXyluLnYb6XLYqIm7mBJ4Y\nd9aANW4RqnvPGrlAP1A+llGT0WeUcR3lEZtuD9eY28h77IHRZBv9n7vc3vhG\nDnPJEj5ERPbm7U8fZaHiA15eicL2OwnOKFN3O6F6EmKOwWxRiIElHMuWDXbG\nhG1Vx0z6cz1/GoRhF2Ox/Yf6HfN9p1kG3RvyQqelDsKdrKDg46aQhJegSG3x\nxMioc8uBu/FQFyNTpSQSeAKsbzPZzqRzzeRBWMvGO+N2jstlnuY5KsoTVn9n\nTJ09lEWVXsWVpoIobZhP9ZFNCqHHbbAnUR0pKIS/adSLm2L2HOmgYleaHH5s\npNWpT2oZWUEIUoue7Y+gt8+jF5oHKVtq0pYxTzf24vNn1iNZy0XVyXd/cKYh\nm+33WS7NT8OX6Gb5I0szkIWi7oZBvGueEbrmWZ+1uJ4LbCtnPoZZv60zbeoT\nrf8ugBJi9l+T4T0cdC1Vi1HNeSKQAOtpmhLHvImrQi+Q9DaTzcAuWfj83WLO\n4lWFlad2YuEU2Lb40vq6G1aSTfacDhQGpjO8nvGgaqBVq236PgGyzC1DXZVu\na8BqHQMlWDod5wpVEcOdkBmjbWwSvdE0ZXkEb+Sya/mHbQ7mK2TrRSGHY2XV\nWREZ\r\n=ZgZr\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20201211.e06f70f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20201211.e06f70f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20201211.e06f70f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20201211.e06f70f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20201211.e06f70f_1607674607170_0.30355891134260604","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210115.2b00408":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210115.2b00408","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210115.2b00408","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"cec4a4457dac1c89f2aeffabbfb927021d49f16d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210115.2b00408.tgz","fileCount":142,"integrity":"sha512-9X8NNsk7QFZrba2uQln6dPSoZF4FJy18MG6vdB7759mK3Ze1NWpd6pbZn1Kz2pP55xdr4NEkVSDJiAMm8gzYWg==","signatures":[{"sig":"MEQCIDQ3rqikfZseIGfAbQ+A5bWZ4YVJHX5c2S/C48m6poIjAiA8giSjP06wlRHvfoCdfHOu+/nFtD13y1KRo3yI5S9rkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAU9xCRA9TVsSAnZWagAAWZ0QAJRZXyevR4Bu1vwB5MAS\nC8p0t8SnOavN+3RUEoCYYlMSjrolJBE0mpAJddyDuIixAPeujnzjrUpFSfh3\n6ru1WYYQTPiJYx6CWQPYOaViqgRmz9GH4TYl9gRmw/untF5BrUgLC/+T4dDH\n6/OZSwbH6mX2miw7qKQw2IGi14KeX0956QZ3RZga7WkmsO31JYSGawOOTYD7\n5XXjkeRc9dcHQWpc8LkrSWgFOEICI/F+/n4GDq+Zyaoq45XIeja5TdbGO3xh\nCnl0CdvK7uzm2+1cxzJljwYg52F8YKgj4KD62YWY6ZXmG7Y0Ht3NiO0XQQof\ni12eUfIene6sTG2/kL43TkErwCRET5i9GjE0mcuCtTliMJkr8edU7ZFmmPGc\nO6nDXmwFNaLQZiJsC9YweGdtUCioTSSFAnzFiBYC4njVQpYPmbJftwMctHZH\nyIA8AvSx5y2y5c7WxbVrmqcOCbEg3a3eYvfPn6lJPs5wrhzV4I8uq5i7ELcj\nk1MeHBStY8BCh/BhrPbYlWAHwuNobSbOUEufRGQ00QUCCrUtyc2aX0AcZcyz\n7mBP0SURKmP/biRzepJA8mhLpDRrwaKp5rSNCwT9C1HMrMcQdiwBix2Euzgy\nRADt+rnGNBizqfFwYKegAQB5HFwDdD4nmAkKNqspoprl6+nBj68kKqkFh7P1\nlpEa\r\n=CpN0\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210115.2b00408.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210115.2b00408/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210115.2b00408","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210115.2b00408"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210115.2b00408_1610698608506_0.1379600174541149","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210118.d2c102f":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210118.d2c102f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210118.d2c102f","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"68e5073bc2ff05486fd2c8d675789234d2c1854c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210118.d2c102f.tgz","fileCount":142,"integrity":"sha512-6hY4HJNYomn9elNvyXU1Dosn7gaegtAFBmcmvBzbm46CPRN9v2C8Z2sDcty3ftWx/OhUnyMcmB6LGb3yavsO8g==","signatures":[{"sig":"MEUCIQDICMqr9Ao27yhUTE6CRZt2/bhv0GTKql01Qm7fi2l/ugIgJMKizMDIoZbYNrXcjw6g2igNZM1nmTNQFseyknktNi8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBUQmCRA9TVsSAnZWagAAKSgP/3zbl++32KDzkF4ntkxm\nIGQmKu/dOE5cU8jHgRDNO4QIlKaTrmBsmJu0UZs5cbRdhmEVTDe0WHUL0s1F\nSs8+oEheM2beTJ/99EIRTYhzTHOxFu1DaYXf4rnopfOGBuk7PlbdK8swVYJ6\nSp63v4GrYRdjDcSQZT83DmNo0ICJ2CxnkVLDjq3EVR2a22gImFgZbLAW8zlY\njJ5AisWlQ6+hT54UoLf9BXwrZUzSq9WUubQDG4lyB7J1R9Zc1//36a9iov9u\nuO5hO8Vdo0wJukht4b4rHqRvnXkbKM6Rmt39dhjI9oyaWIlHvT/JYZufP0dy\nbzvNkNpNr5ppUGEdLdTdDPyZjFLWlSgY5HZ2MKUeYa9bok8NdZNk9bJJyqAC\nAsyu3X8+0JvCHhnjoMuqpNmkTt9korp82ktahWCz6Gpn5KVC+GGTX7u9/ZsE\n7uYW5hgdhsEJm1FsWxvbFm9jyLtLWVZqGU9tw3B3yfcSJ+K5zuChY1SK6D9P\n3XQEs0zgfO+WhKsCtN4pK2MhZhrlTvBhoG6gZmmGWLEGL2qb21zJ77GubVPt\nmUFo2hyHrvEwcLeMFWHdSep+xRkeES9dtVu5PliSd+/JKP6otF20UiMqZ1d+\nnatM7yN6A62oSwoDiD1l8j4tmUYlzZtfaGLu3feoI+d71aydl0bQmg0P0Nil\nXX/8\r\n=JIO+\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210118.d2c102f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210118.d2c102f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210118.d2c102f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210118.d2c102f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210118.d2c102f_1610957861672_0.8641153191783066","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210121.7decc06":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210121.7decc06","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210121.7decc06","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ea76b14745a525dbc4e8dbb0592e9f2a8ba9feae","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210121.7decc06.tgz","fileCount":142,"integrity":"sha512-9+SDsi1EJZLDShZvb9r/u67ZqDUIzdfWwhlBqalhCMKpujGqgSmXBhpNYvy024ZJQkU21rClTU0jkTYv/ombTg==","signatures":[{"sig":"MEQCIE1Y8ALOPHot6TraDKCdDJqynb7oLV9iUwW8F+vDqou0AiBwH2nVQs9e0Gw+PuxjdhbeX6G8lrJiKs+JxG4F4UZhtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCTiBCRA9TVsSAnZWagAApKsQAISBgZHUMV61wc3azx95\nL7Ccv9vE5V/N743Od/asvgSj6a4shaugCg6cNITXh+aCZNGLf5DH+LiMX5L6\nQ+Zd8ZraUCG+PkSacN2p/eWbY5bX6tZhK7St0qWySNtlEEMxK3tVgKSvePsC\nrWj6G/tWgDw8pxk5g8/ngCcdQ2ZdetOsDSUL61oWb398ubafK5xwaJylYY2K\nsvTB8wJtqJ81ssVoMgFOcu0JG87TOy34AhQDO1qFxnv7DT8UauyVcCs3iMeg\n++VtIS7U/VczmKQmQoYvd+KWyOrsX7UFZrRb5qmmVOlAd7xLSoqRp/rPMn7J\nR4P0VM7e3//BE8B0L0JvDUmMylXVdh6jyV0zpjdsqH2bauZYceZY6dfeQp2Z\njRi6/O9lHnSgvPHERfXVgqaOA3xMotvqDkkfxGY5X5z+icbwiiIgb0I2IMFY\n20YruF9UwG3ZqMNBc/QD+zTIp033IB1sd0G+0t1XpLKa9uvn0rN70f3XNFJ1\n2DHw/ehGPf7HGv0K3nqzcXETNYHf0uDQtjQ6fsIqSl/OsQiPQ8mMlauXEUNf\nl1z6lCz/w1v0o4uVT2Xbhh0moHNgJw0vYFEeu09PWXzU04C53/v1Cn69acOl\nfVvqrJZj7tpWxwjPqv8Kf4Dj2UIYYJsuNyGspCK+viToYXlKCdiBXdHmyAkH\nmC8B\r\n=FOH2\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210121.7decc06.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210121.7decc06/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210121.7decc06","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210121.7decc06"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210121.7decc06_1611217025055_0.6177734261089454","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210126.0184ff0":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210126.0184ff0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210126.0184ff0","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c236f8fddf560985269851563bae4352287eb6f3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210126.0184ff0.tgz","fileCount":142,"integrity":"sha512-ZmGp0D3LqCno305H0Mb58fabhZzJtKH4HQHnf3wdcrpdNOLgbP3sZzWblqgAZunbHHH4DGqgPPG24MBMwRsthw==","signatures":[{"sig":"MEUCIBPKyDS2xoKvLdZEthY5ZZNRwxhoA8cZHiSh4uMNJinhAiEAgFk9koDHw79s+X6QqyYNfD4wGoWd0o50krXqAH8dGkk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD8+1CRA9TVsSAnZWagAAOFEP/3nfTPfhoQz4fGVbRrXo\nmFWw3z+jkfwDxDOwsAhGOcesW20x9TsSQQMNOR6jf9DeuCpkZsLeHcCBl5ae\nOp9fXPL9RBeYa9VsZa2TUz9R3z9n83r7upepygdegJerTg0pLGo7OvWN/Yw9\nTrCtEqcb1PGOU+DXvg8xfF9/zWx5dSqfdYPoIGQ+dsdpvafYGrHjyZ7zlnxX\nWl6VlNhZEdbOZf+XPZ9wubDUVB0pgiLyJEi/3whMi4MsOAL/WKXfy++M0gHu\no+MN5ajZmV9L3Wpa5oEqVYRY6fRkKTuR31bm1VRq0NOH4hoPKL/CJ57ogjS5\nnq2tuI1OZit8p3W93XmBn9n4konGjkaBXvtHtW2BwOKzqAh60PMSPNN4RVjx\nZyxHn3R9IsKEY+sinsjoUGk8yIyQG8PJBRW9CyDjBb2bCaYVNBP7TPRWxM7l\nhZQpVgSrF2hzcL19hvrNWe1G7jqVDhrcOr2wRHUvqoQ+lGO2RJiIwJxWvzEM\nIIwBR+WreKvbA9LOGNy2OF4cJxHmmbxWztdpT/G0uQDfOjAQJPUcRK5RKgXd\n2zzhrL2uN2Z1Q/JEtQdLJ9BXKJbhGJwskIRFY8hvGZbgq9er+DqqpuZd30Aq\nCznp3JM1p+2+BaDI235rGrwvub7QwY4rcX5yM0MJ39APyLoyrhrNUircna3j\n0Kya\r\n=ig3f\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210126.0184ff0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210126.0184ff0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210126.0184ff0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210126.0184ff0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210126.0184ff0_1611648948869_0.9096384926502437","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210127.fc25e77":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210127.fc25e77","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210127.fc25e77","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"9dc2c5cf2b0d0cb3b2841913cc6eb94cddf7057a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210127.fc25e77.tgz","fileCount":142,"integrity":"sha512-HUjkVvNyDGC9NOrc2MtGTLvbtZuJgveII8wwhgmO7Ub25FHLb7/kRtEhnrPqeQu5dW24D3q4Rl45DBQ41zXQxw==","signatures":[{"sig":"MEUCIQCIEID/YO4mZyOLUBIbSejheifFsxeQ8O2PloiIh8iXaAIgbCZeB1M/3uQhEedLmwLMOD5iFSlOfLZC7ae1wBzKkEw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgESGXCRA9TVsSAnZWagAAQIUP+gJ8ozvrlE4YkKCJaL19\nqbS0rOdXu9p00lq43SJGYwFtA9uoeGWcOJdejkuTDKc5cI0K85Caj35MMLil\nsJYPXMK7agyL/5gMvl+UFz8OArkIbGVbymnF32eaXaYxoVV7jYefHItTc8jA\njpPrTWIFkHT3mAqvbJIh3OZ+Vp26zkQcxRAVpfgvHP8JC1Qx38IpygiUOUj6\nja0Bh5Zn1a2KiMB8Bd+oMDnm5Wo1GA0aHJyVkdO+pP40Kf88shGQxWMXahpI\nkyqCad3epQfWFu6k1W3+HLILga/CakLIGlhEaG2I9oPqDBZL4fWw36pABqdV\naXuxSHiUF1l5GINWuewCok/G8i2yQsoUKe8hIiVaKbvny7K374CtCd2mDGAH\nJEp05ZilP2TbC9QmZkpbNTFS7x7rR4ORCuJgq6bbg+mHETmUFEsvy+StPWAd\n1TH0NKe+p0ijG09cl5ptbzXC/KXx4ke8PQT3LeZUFVJYCVX7FLqwT7oogJbC\nmD5HtqADDQDlaz2TNNdz4c5NU9DmnXJB/s6VqCaEOZaxQk9GOa72+AQN0iPR\nPTNBaVbboUbWaJCtrZUDC0IZj66S0AeXghAyWiJdzT2iC3U6edWeoIdFxs7K\nWx6VLF7lBu2lidUWcdq8lP07XjAtUl4keS34wDFDTwaq/EUpw8FDEmuVYIXj\nnbYo\r\n=GTdy\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210127.fc25e77.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.fc25e77/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210127.fc25e77","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210127.fc25e77"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210127.fc25e77_1611735447366_0.22566013148701858","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210127.3725565":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210127.3725565","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210127.3725565","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"38aad6b0259d23802739eddfaf12871ccaf7f5ae","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210127.3725565.tgz","fileCount":142,"integrity":"sha512-MTmXZCixTHKJW54gZ/gImaZu98UjJFJ45O5Cg5bOTBbFRnQj5lqBotLs/CrPSIkhCw8JMl5b7JideHr94bcoNg==","signatures":[{"sig":"MEUCIQD4pi+nY3xpFsV8JwXNNavFD98bYt3CtH4Jx9P2g1+mjgIgJFPp6WIKysLzFGcOZcNqcWA3AVJH3Gkj97bMKzb+ufM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEcOICRA9TVsSAnZWagAAh9IP/R9ZF1WN8hUVA6S1cfVl\nDbzljf4AH81NVjxd5WPhFG6DYgY0l5eFKeEkKe4zRPzQxXjL78pULAfGxgjn\nUbRE/e+LjhLRztc3EAaitkn+g9BkijBeSFXmWBsB8ORPHln1IzrLu95torIO\nEkH14mnEiajdJ/PNxsS4zRFnVixqUngi8l+qsEA6tmw6aJajXjH93xikObdE\nqZ4Z4F0RY0RXlLw7YBiDK3PrUpojDFfr8tsvhK/ty0o7BU1KDo0GqGVXErXf\n1tciMrpu3D8J4v8GvkfHVUtKMh3TexX6qOt6yzFWIO5gr5cpouE5v5lFaPO4\nyDlxqaYkDNt//SUkdLScbJdqpeTNf7/YM+nHouyL49bLNai3VTXJQ6dO0/om\numfU4GbvMXkk0sgh3sZs03msdN4S0HsKnCrF9QCNuc/yXY+dlwjsWYFKitLB\n3pGNqoqaDEFv2Skz8IroD61eBmc9g7vPa5Wibh/piI8oPNxilVhZqcy53M0S\nmFPptI0BroYZMl/IsvT2VM2OHWWr3OTUAs08mPSVvj94Qr/LqpZ7IKsGw8c+\njdb3BybkGni+3OA+ESwJrtaTGw+4TNZY0vK6lEWSltPrUemQ2DYwXrGSrfhg\nN/JDb6jnSbXplwM5gFneb/GQ5pOzS5nWIbwWeaVkSJuvk9n/c6z/jZZF9MIY\nb3y9\r\n=vYyQ\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210127.3725565.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210127.3725565/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210127.3725565","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210127.3725565"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210127.3725565_1611776903878_0.25531409472542643","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210128.3725565":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210128.3725565","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210128.3725565","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"60d8e3860aaaf10e7f0c4535c0df566dddbf2a77","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210128.3725565.tgz","fileCount":142,"integrity":"sha512-an4GTIHXOyGTye4qHPbn4LOLb25bacJ5Pfvu7XIWHWb5rlZg/CHzrAupJL/2CSP0n0aEVnIomGs4BQB+re7u8Q==","signatures":[{"sig":"MEYCIQDppBF7YHnkHFWTxfK9Jjo0+Svmn55JNlFOxXhPebKiXwIhAPjZR627TLjUgRJkKW6LrvQiN9eBqH80IU5sfEOhA/9c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEnMSCRA9TVsSAnZWagAA2OwP/1Hj6GOCfIg5Sh2EWClO\nHtCmulqjb6blNdvuZs3KhSyOGmggwa+rbecfvt2QQM4IBpM6oPEBsadpvY2k\nMFKIxtnx7J4j247zrILQaRRe+QGJQclMSmVCs5fyd2xS9jmiaISJTYmIwC+S\nFzewuvAxDcTiJQ7E+wabGVaeqrmyKaCWNHu1tQcFSxO3MSYgCh9q5PHB7cNA\n75OrB1DqDihm8GMTY5n67lC/tjXQBtFdUyyPFBjEZkawCtz7PgwxCOpaLTfH\n9parQ7FiD3XrqrfIzvYSmhhYRfDc4oKaAhDjHkdhmkOlE+Fs3bsauvYiuzY2\nlnNUxdpFFPx+6SRtBIC4Mrx68jsdxfWI+9vWAmTHSqRldaTUr5cR+VsSjRSK\nUL7nf3yJaI+DWo5Rvn+ovcJOlyVlpLLHSRtf9zM865ohyf+EiNnoQATslOuY\nCFTA6GiL48bS/TZa7FPmz/l+Gc+aoAjYZ4enJkG0K+7Ghm9fkoD1g9QW8K9R\nP49WuIWVgdo0FKk16/Km9KqBAlNoBfxP3WqXnJhERAr/63wfM8ej61l3BKKz\nJ2vngTmDSBGnXjsbJPX3gmBsM/H67Ygigz/f646YQf+daIrVzFk9znhG9I8a\nuX5kiLJ32e+31pi/Li0Hqee1yWnoa3QmSJ4SS1ieiRP4l72mPVUjWJyoo0vz\neZzp\r\n=SJd5\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210128.3725565.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210128.3725565/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210128.3725565","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210128.3725565"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210128.3725565_1611821842161_0.9330231431373115","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210129.82760de":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210129.82760de","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210129.82760de","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c5a213ea3d088cebba07004cd79aee5ccacf2b6c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210129.82760de.tgz","fileCount":142,"integrity":"sha512-m/pyDEC5iDoL6y0SvID16CKcxvgG1HbVd84fy/9CqJl1rz2RRGtF+DAFCsDHa/Vudd/1/M4mrnzAy1naqRZ7kg==","signatures":[{"sig":"MEUCIQC+w8yyPaZzUGnSccHE9EHlVNuwOaO32X2sbIZ8saTK6wIgWiiOfogn9LeYOsxjgnS/adTim1vaLLmaUdI7xj53FSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE8RuCRA9TVsSAnZWagAASbEP/j563OQVMwhYkZepX6Ow\n0cqONZiQcAyY0/p4m1JXWarXmQQKUOZlhiGPWbW0+OXuYKrddwCZAuOMoljo\nua9i6MBrauH9MoO+hnqKnnWFZ2HrZEpCMr9DezNYQTyqHJCW2TaDBL6Vgwl9\nXVBnbkCblLIw/AywoJ5+LDsR/A1zWXV/Hiy1MJ7f+mjekimbsT5jhPA8RYQW\nmd9h1r7wTsC0y18csFshlgV2TR37sikI+zozeqd0zvb/zDDKTIjFB0LevaTk\nVZaUnq1F/XzbEy7OjOO/SiZPfIBpngp5gspmdHWY/opDC6ZlieZsYZXsTfpd\nxca39DDEUskZMZD8gqUFDdurBnvL0lolBIvNWQGTyBiIEljk10TRv10XHHRj\nsY7r6LKFXo4T2QP3vBwDPXFNd3pEQ5gJC0bLilBNGrZRjNNsexLB1eV++sw7\nyDywHmED20Zv0CW/Kh7Y8yk0wJmPiKySI6kL5dlvdAMTir2v8nvJlgmzZa6q\n5bFB3DPvlgKZMYb+U0hFdbisqUIRp7ZLHLmlhDPILHDKeb1skH11tYmd1kiE\n3EbbYyDhHubUM9Xx0z0Vqe98OTpBFUW0F58lWnT7dEXqP1p28jSQvMDwKMgd\nHmCUIkuyy0Q3UqYHOtwQU3EU9Zip4pnxmpycxhot9dmGkRoWJvj6oOtyUGzi\nGake\r\n=aFZV\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210129.82760de.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210129.82760de/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210129.82760de","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210129.82760de"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210129.82760de_1611908206346_0.8301485790504193","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210202.c622c6f":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210202.c622c6f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210202.c622c6f","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"09478bf67a3effdb8ff1dd18ffe7cd8efeaa48e1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210202.c622c6f.tgz","fileCount":142,"integrity":"sha512-abpjc0w9z+aEwt88yUkKVSDSGzaaF57Y036NJeqbwtHV+bMBAHuen2pcj0CPr/35nzic7la5zE28cJpJcI2dQA==","signatures":[{"sig":"MEUCIQDIe7F8yYKcEGAJ392K567hHSu68+aOI9THBgdOBXA+zgIgGJIN0D9E3Wp9ZejwtCKBCCPx4YTLwiI3TE+AHgRaI4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGQqCCRA9TVsSAnZWagAAU6MP+QBb/Sx2MPgnwxHuXfQI\nD8SsLCW5WgaQ/9fm3GU9R/6GHP8mlKn7uuHDkZ5lZtuibVqWJd9X+KH2Olfj\nmojGEIaO3021betGQqusBv87w2t6ypCECk2Bp9x+aWejl/h+RMem33jxBFsR\nIABxByHVj6284xJtFyE0SzltADvPFPzISxPuVuxneN4GER6iTJca9DayGix6\nTMPyIb8YsMiV3p37eE3iqZLlL8EopXg2Z8MFOzBaB3SmaSUxfmrQ2KFRYmk2\n/2adO4kn8z8You56Re45pkw94BXlgbuQSad4O875aAJGkBKoI2KAhjaRc0Ux\nX0Z+yTtWJcMdJyyDWKV1xdH1vBB8xoOHnZAM328ep7UOht5sgLvV24QulBUu\nYDl6nPmZGjp5t0ZV6c0Zg6tHdANsRwYX3r91Hmp+Ib0LX6nkAq2kL039lrhz\nnijr/BCGIBZGG4tStmoKzKZ27zkEa1/t8SZP48wG/NR1lvo27eCoZv6VkGJA\nI2OmYw857bpP5YOLJLLKbirxFdfxiS2J1cmvaj8LqKIFrq582Cpc0CejeStP\nRHzqvXqRQR/2z7OFaZj+IE/X+I0GjYMeXQeUYiYD0UCNy5sD8Nwl8WWB2BLR\nZdvMtmBxnQ3WxiV+NO+ZArKSNe8EbFTYQAV0aqTrcZJKFUoXtDZLYmD7dqPf\nMcrr\r\n=NsyC\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210202.c622c6f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210202.c622c6f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.8","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210202.c622c6f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210202.c622c6f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210202.c622c6f_1612253825479_0.5697024542101565","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210205.fe56306":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210205.fe56306","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210205.fe56306","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c7f1e9064f053a2ff7d9113d0e40863d7de9cc1f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210205.fe56306.tgz","fileCount":142,"integrity":"sha512-ZF60Y4MVIG2y9LYCVhHft62dpoyyAEzuPBb+rnDJKrEVOX03EJ29NOmcWwS6H6v7w0lDajHjyeG6XtkXtqHg8A==","signatures":[{"sig":"MEUCIGVHqbWWtZD/BTDBpHNYGVE8aUbUyVDS2BD0ut21uXThAiEAoyboITWy2V+mKO5yFGJdT+CgAtGil5KeFGwUCSRHJmw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHP75CRA9TVsSAnZWagAAZsgP/20tLVGUmSw1HlrMyQM4\nHgBdT6pxnRw/pyyZknavSwyOXbEWO4wcZ05shaI3v855bM12mTAq0GRPKjtC\n1LwT/ZL95CTY83RIa5+phvGngMI9ROBWr+Mwzq5/vX7SPElmaQKG/low3PQn\nDygT8X9/OxoCwAEhrT+v1ri+pvUOVNGo1UNeHcNbunziNbaNyyy/vwalpTvL\noix3OLH2drhFAQhAKj+XxdE6n9akWWv72n1vaC30ymWOYyRTOvBH0P3xgCuX\nwrwhYRXcxDCXp95F20/adIQN+vdgQYZOteEhMPADrefQtNzD0CQpOT4xch+b\nWIo7EZ4qeBEuhwYSBtaIokt/w6XAFxriqIgcXs4I8BxwHbL/4iWy0B741jpW\nJ1uZK4vabeBxUfvUjM7Z+EFBPWvhGT1im1d8U874A9R005tYea2WXJ93DQG2\nIWk/Y4ep1cITyTU/5+zU1kvA2ZIVTmHxNdjs/CHPN1CJ0VWvbYGk7QLCsyyR\njU/RL3Tmq+EcN/l9FUkFFEVty5AAJaTMiUjSBakgzkIz5OqdCQqRFJMXQe8H\nUiv/0I5OUh+HPPTl5KFuaUvDhWeRlHFVID5EZec0GWK0PpEJ+7YlGy+ELaF6\ncFx2pOJq4JiX+8I52MjlBmpkYvH26rGa+hslASuttIF7BjumErtjdd6lR8nh\nKFGA\r\n=d9Ad\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210205.fe56306.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210205.fe56306/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210205.fe56306","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210205.fe56306"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210205.fe56306_1612513016884_0.743652792780559","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210208.b300d92":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210208.b300d92","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210208.b300d92","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7a6bb5c9fbd20da208a008b04a9865bbe8300e36","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210208.b300d92.tgz","fileCount":142,"integrity":"sha512-fqlE6Sk7bIxL0TzmpZd9nNrhfQQ6s3ZazoknLAg+keF84KMqCRSDPLX4kDbG/uPhz5zASBlUSpeqTN3GdvnXjw==","signatures":[{"sig":"MEUCIALlzvSFkZcDT/eVBm476WVHmnggY+15OwEiTnNdkMOIAiEAh7A2M5gKEk0Ic6Yrno5MHk4PXEZ/Bl9yXqBtx2A023Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIPO4CRA9TVsSAnZWagAAAcAP/Ap08b8mcfWxPFa1T+6b\njpyOQ/r9NOrQip6HT0zMpI/+yLl57toeUbkP0XUNk6gBiwVOSj/EKRQViPMg\n2gKgFhLXblBrgN6tOxEQSXaM8kX8UIzApUiSkKMRVIQe7pmbuoyeMe5pVeIt\nxDMcyadTlWpTkbaSVevYx/sjmlJD+7/iGcWPpFHTcFDAbgJofsBGUHzq0DsX\ntaBnVZrYuyOp2s/AFUQQLESMzzewKBR2gefI2YVhUUJfW9c67VDl24zxvrgQ\n1+lAXZr8WeV/TdVT9kZ0zooSDQMsz1PH9ciPC0yerDm57wqmSQkilkuIfuTA\nuBjZ23cf1NUqgdcJlBZIFfkEh07HSWFqWdTaEgnNa44UwZR3Kfk5lPjjhsOH\n+w8iQ2UIH8/iJFcA5Yhd4lLW90F4qqRyIpUmoQwYmj23r8KbzwoPMScttozm\nL7X3attqKa6MRg91Ftvc2eKch7rX11/GkO8JVUye5z/bgrbyDWcq9Ymcu9Gh\ni9AxEwTjaJ5ttQSlZJdoTs1NnRxUZ2bHjsOks0UV/KKNCHtQJ90A5MXHtwy6\nXpoqHaL67vlP9GHAkmTjLcQQTn4ADdT1szqNo/JM/0TGMivikRe26z8B5/Jb\n4G17VD8RlHVmRZSjYK8RleY2d1/uBZtHLI0qVSXTdztmXk4BcXz2xPJKbYVt\nVB3X\r\n=z74B\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210208.b300d92.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210208.b300d92/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210208.b300d92","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210208.b300d92"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210208.b300d92_1612772279831_0.16967141839384947","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210209.dbba6c6":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210209.dbba6c6","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210209.dbba6c6","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"794fa702ba9777050a9a8304e890a9311f441776","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210209.dbba6c6.tgz","fileCount":142,"integrity":"sha512-3OYOeRCNVFnU1NHf/men2muF7IWEWSU/I1mgKxvENZ7VEkO9E6pwPQv9PCKjM4r9sQzLbYAs6X6mc8Eb+yDbEQ==","signatures":[{"sig":"MEQCIH5Mq1anTIfgkMxSQd+M9rIRo4F6GrFT2y6PfNw8JgNbAiA+dlZLimL2ywCYciYKu/vqgNnm+VtyTOIUy7PK8z2wJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIkUFCRA9TVsSAnZWagAAwXwP/iE0khspelqnFYv1TVsu\nzhK10+X9g44PysBA0h1MiT4FAXlsns1k8JxFl0L5wruRDuIfhzW88X7rcyMg\njwGdORPvzG45IbbASo6gN60ygA8Gl0dr4kBInMerywjxJ+PpYzSROxWZ/Skq\nvrIZsWZ+aam9NczkpEJ5LfIYpt1/hSx1bs6uNkugGxa5czhyM+OZWkiRj9d1\nBHTvxcNHV8LEvY7SFEaZ5f8Q5B9sh41+I/dHYAUbnoWbs4gsu6QtP8D7fKAj\nTMgea+dJeUV9D0SU3YZ41rR2d+XnCu+idm/iHXQcJo38gTgS17lUFn9otsDG\n1kVWIExXHpJ3nJ5Nxgew0DHTTcyN14ZYNPgVyCkIDZN4MtI8laGGRqQIQbgs\neA+KXoCceGnLF+STth9oUQZqS6nldz41ZyvTGsBl9CD4kuHiLff2hOFOBJzo\nSc7EInK3pwOA0TpYkTuxg/II4UwVJU2J6DPHxx0We1STbrtZLMBOO9m6qpgf\nHKsV4MwT/qmGIkpjRHGCUfkyq1cTA+a0OEo9wf7Gl1GREn+Ion9I7CAT+qDm\nUf5hivWionYSWXTWtnGC2YdA10wT2ZHwAgePs+c+dZXeUo+8QBwj569yvc47\n7CCCFKCejwC4Wrm7ECe3bympLw5qhvm8+G5h16KyVFMjDK3el2P72dpwsych\neMH0\r\n=qvke\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210209.dbba6c6.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210209.dbba6c6/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210209.dbba6c6","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210209.dbba6c6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210209.dbba6c6_1612858628979_0.9010813883913662","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210211.d80ed6a":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210211.d80ed6a","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210211.d80ed6a","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1a12ba0124111ee2523d12cb2f4398a1809c9249","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210211.d80ed6a.tgz","fileCount":142,"integrity":"sha512-ikFVRR0CIBUed3378Rp7esGqT/d2NXi2rUAPkl63k32950hyCBpzIJQO9MqdtkK86z/w6tVKT/iDODSuSbUTYA==","signatures":[{"sig":"MEYCIQDADLArtbR2VdsDL19po+Qm+j86OZX16meC4m3eVZr2UAIhAKAKJGrNg6miP7xaxJlAg5vl34VndPzBU3eiw6YgWEMe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJOfcCRA9TVsSAnZWagAADqYP/0G9vjLwddVH+botRRzw\nTXH7NEXu7NVmrS/9pykpL3t9xMLPzdvDp6RHjcmcUj/Avybe9lgeGr04UB5x\nZwZIZDqjO8mG3WbUO2zzTBE8xrvcDOihvEZ2weoAbSTQT4rxzDjoDG7ebmyC\nhWAQAMKnW7j4YTN8scDxl94hb3oMIH36UmpOVd7e2YN7x5I22uaPpzKMWWFv\nVIuc4sAX7AEH3PraYpcGCb68lFVcKKdUNMHgK07aCyXKqAnR7MtPXabhGQcP\n/PBEli3t6zmnSRio2J2Y3MQdXuSt4TphZZw8Xd75YDN6TVq/4LV1XwxaEO5R\nTqAhbJ7M7w+/q18+uSx2jEEyyCWCLLAHiu1mh3D+1F6xztOh7dFYWqCIXScn\npng9iF6zHEXUX9GD/sCl6FNqhTWgpmsEs1LtE/YAW/ZTE5WG/fygk2gYkQvN\nfl7FGrAB2EQAEnlx9FdqWvOXFSWevX+fB5xDhrbL8Ge9muKHP9YvaleH5wHr\nj1IdGe/q/LpuWVQcvW2BzyqWkWeAMdDfhGouv/pBg96KVE5m/YWt3bfaNAJX\nf2A2o71NOaHqhYG0FKkFYkDOMTanhSxS1NnOWE9owndfT87YgqO16qp3Ul0F\nBAgBA3WTwBQSU51n4Py3gvBa3CzrxKFu3Ltv/cNSJg8wIyCxN+3fJoWtO0Cf\nIthC\r\n=GT8E\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210211.d80ed6a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210211.d80ed6a/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210211.d80ed6a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210211.d80ed6a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210211.d80ed6a_1613031388419_0.8193994957382524","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210212.50bae19":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210212.50bae19","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210212.50bae19","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"26a55f8639e7e9ceccf886124d935a3382be0eae","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210212.50bae19.tgz","fileCount":142,"integrity":"sha512-yR/pnigbcybgK3SzpmFjTtlWRwR5O/t8rHrXWcMUULZ2k7ie6hfJGVFzv+8QV21TsWauAS2hZvp49+Q9sH186w==","signatures":[{"sig":"MEYCIQCjsOGLCI41vtUF3AmH9fiIHgSk3TGak5R61+QxzEIuuQIhAOn6e3fFcPgc+J27asteypq+ptXWBh+FlJ2N6AHZ8SYD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJjmECRA9TVsSAnZWagAAgZcP/0n0DkbLj3Id6UN+yP1P\nv18SGp/FtD1gSxdeH1YvXadsnpvP23y0HxIwNk2e84Py6sXxsXKYWdvftr4j\nwCR3sCIiJ8EuzRhqptd101OnvIba/ubYCWYLI42XomXGqFizvXLDWBKPRxdb\nWH2MnTvpD1jA9GxGO+h175gQg7ifUXt0Nl1zu0VSkO059CtsqbWHN+goun75\n16Arz4ymlSQQ6NUCgRLk5/eAGYlsYW7Q3yKuxmQ7pdmO5SkUDhrhRvTSUvx/\nZbgkPSgFUp+lK2mytM51+Z+SeUVsrzIRia+8skAgs2hPDneoTbj6JiMXc+Bu\nswV2RyL0BpAlfOo2Zqm40iFZmeYspZUSUCRDMPYWIiwKwa4KcEPGw5UjcsmE\n9hKML7oF9/8jumjawLgXC3jaowmiU4qDAm06B7JTo/+6JUtBg4ptgjMO5Zca\nrkPus01aO8ldHjNclv6WkNwFsqKGHIUhKC9ZndFB1uKUi0zoein/67VJEz23\nhC/oU7J5vgkBJAr+qBLPIzJVJyKBEpt5mWeuyg+UqTxVwVtvykj/Z42ljSEK\nG65Z0JcepT3L0Qp5iQdohllffz8p4HF4sDGUNEbXbzQ41L0pgSjy2U+GwXwu\nLuUPm5TFGZF6G5+oFfXDTiPJgAwyZbVDL8AuHXUxIJkvcI4rMQO/JrUD5m2m\ntW7Y\r\n=2Xuv\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210212.50bae19.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210212.50bae19/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210212.50bae19","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210212.50bae19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210212.50bae19_1613117828449_0.4186466232592456","host":"s3://npm-registry-packages"}},"4.12.0-dev.20210215.64a2839":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-dev.20210215.64a2839","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-dev.20210215.64a2839","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"6e51bf78292b2087cc3b089c919c45ab52f4ea6c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-dev.20210215.64a2839.tgz","fileCount":142,"integrity":"sha512-5iXAfLe98RUIjk1My3vAB47ekB8hK1oYAiPmlcMeQL9TZ8caozV4WaytAxFKipkdcgSg3bcOThnioxpuvQS45w==","signatures":[{"sig":"MEUCIQCk4JF0TZHSHyjWqF2eJOLN7Y+Jx63p0jwkuXXTmdsCVwIgNP22NH0hdOcMVCr9b65PmlBlOgZ5jcHUKw8APtD8DrM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKi4uCRA9TVsSAnZWagAAE6cP/jX9Ki+9a6W2iVkYVxBR\nGtqkewEnmzZ/+UwdRB35wmoSQdKYhscuYbcTG1FQG68fnmF0FuI3vRW3oGTp\niEe3EUqb5BiRhcMb0rW3vJP6+Tv96BRwA1CRVprYZh3jt4KZkmERLxuBaBBS\nhXqct82h7AbaJragiOeG7ZC/BFJnDthMfd3n1zgYpNszIZAk8MbhoWfbLBnt\nvbOWwRAGDwpEoFz5PIP1sy5IzyShH+vSGXejKfUvXeJzp+kKzcZN5gZpaH+z\nddQt5JJIPv5YM+TwbcY6p9or3cU0Th15KeZzmtH5nU5B/1IVe6r5PPrZciEC\n/9Yb7ykkgXmOW8jy48Y5iEUAAd4b4FySTfPryb07pr0FGJycMxHL2k29DgfJ\n9zZq+3e+Svl3sINwff7aSWCwO0WI+tSPqcWYPsI/HVvvEfbTGGCHT1cQjUQx\n8oyBgqLCPeCAR++PbQXkgEKsW8uaFucvR9lD44npxhpoTxlRrRSGDcns6EVq\ny9LlBHOPAL8gGEXubzpJxFW5dstsKixUZDs70i7dyNIjOOIGhrCDP4j9A/py\nK6IG1aVs+H1sE3ITqkHBiMbzSQv7R2Xk0Mg87h3jt/tRb45reUhGdawYseAP\nZf6LFBH902Wt/n/99TizfJ4kUu2dJjQUhw8XnKzMCvOp+000V/Gd0Zrgzlod\nJUhX\r\n=5X8o\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.12.0-dev.20210215.64a2839.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-dev.20210215.64a2839/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  (required) Bot name\r\n  -f, --force                            [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                             qnamaker:build command help\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified, knowledge base\r\n                                         setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  (required) QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will be generated if not specified. Only valid if --out is set\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  [default: false] Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qnamaker build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n                   \r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n  \r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n  \r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              [default: false] If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               qnamaker:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    [default: false] Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        [default: false] If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out                          Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.0","chalk":"2.4.1","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","await-delay":"^1.0.0","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-dev.20210215.64a2839","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-dev.20210215.64a2839"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-dev.20210215.64a2839_1613377070380_0.8727915333807785","host":"s3://npm-registry-packages"}},"4.12.0-rc0":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-rc0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-rc0","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"305e2bd1bdd4362dc67f08b4a61b4000b11bb834","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-rc0.tgz","fileCount":142,"integrity":"sha512-0WJMVQlnZonmJupnPHdmwy1ZOjY16WCPBSOdsBfo2jUGviQhs2jlYbAqPqV/LEVmaPQQ6GuSzmdooHJHNPK7kg==","signatures":[{"sig":"MEQCIDb55th/KmiqEXl6XJAkBZc6xOEinlzOsVMjl5iRx/SLAiAdYMYpZeHhlAiT9lIpgN46Spkaesa4WUXbc3MYJ9fykw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLa5tCRA9TVsSAnZWagAAllcP/jASFf7upFpH2ScOYsZQ\nAjxXG6hF3NnOmJIAD/wYuhLhWDCPbGpxZCo6Wv2KRpaWprfowf4uXKRJn1EG\njEOKXrCOl2IKMaocF/YyyVgmfNb4fcMH+0h7YwpkoE5grpWjW/udNatviqEV\nrTmEmx5c9bYNhNCFgf7iSxpV4m2XNSX5XCr9HBJwIjc+3ygma392pjZsvmVM\n2XBHQmvxRG3lzHqJkLzoTgtC67bbPfrmK7aVim76bnBhdgQx6qOkB/j2s5cG\nUXmx7rbhTfUZFngrenzFe6My6VJWvFejFIoBvKWPjPoK9we4dZix/WDYn+m2\nEMvTCfxjjfdbpeL3mrOVC2P6RL2ExerH4WmaywbGZg6zMxHbJZJvFhI5qEMx\ngIjAghOzhAfiMjcEQyAVRFgWpoLWJU0MN6SNVIziAUBUlhiKKuBfTnGA5dLk\n7JTN/SBd/NBWLhxXkOXlp5VFdNi3nXhfv4Evooaw9mZFAQ60dTtm/cpYm/4E\nBRSn60tAFPo/cf8WBEZTovCiED7qOTC/E4WwGRam0kMWfV8zJ17kCuroPTGT\nOrBw4dWu/cb33JBeVCv11Rtk7z0Bd8qRHaSPWuu0Hh9E7V/UQk3OUuYTuW96\nATt9Tyy4DH5Zu5OBlRgj0+1D9PdKkEBSn+Lh6L+RWrHrIhcZKl3U5QR8BFZr\nITMK\r\n=4sGk\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.12.0-rc0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-rc0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-rc0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-rc0_1613606509003_0.06972372886820954","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210218.d9e7d3a":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210218.d9e7d3a","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210218.d9e7d3a","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e2d5dc9174236aecba4ca38a3435b4e801a63cce","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210218.d9e7d3a.tgz","fileCount":142,"integrity":"sha512-myTyNyE6IOe57q5XGcjhL9Arg+C5jrIb59LObgXmjj+XJFWKRLPux/XOtW/QWoFPq+fx4UYaWvEKuf5nd+D6Mg==","signatures":[{"sig":"MEUCIDkVGjzZDn0kS6qR86NSOHIdd8cFbmKmvv8gvIZLPBmTAiEAqFl97BWUAzQehTxWxikIvON2pUB0Q0cySaXtWGhKL7I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLiJNCRA9TVsSAnZWagAABtEQAIKKhhcoLTvjgZt2WGoi\n4GfDfueD1KsoUCC+I/ARqANwZn869DU4mkluN2BqNRH5guLLaX3y59z+/yfs\nQZs0FWQdep2OH5YdikybaA3N9cW/Zy723dTMBYJzFYf9xVmgo0BBpniU6XlZ\nchGYrhcO7fI7h2h838LboKDlTYYXrO/6rD8mggT9DeFW7GC66G5UvnHy8vNV\nv0CsC+0tBu7lqZ5WQ6BQkI79dLV4FOr3vDxsffgQ5lFsmMxruQm9uAMXqC0i\n4Qycy8PXp/QmhtFMflnpOGMqum205nh3R6oj60dRJA2k6fiqH8TNnAuYv5Nx\nBl+YGX/ucRagdzVv58v4QbpIRF8LELipN65zhJLD1MNWlEnH4T2jQAgAcjN3\nB16DnYxPq8hUgJIqjuXhn6Ec4Zi5QhqdDKe9PR8FyDvkbGOAYWKcd0K8rcMs\nYxLC4h4YAHMyuc2W3rE9oSGQNH+JBeCGZcE1QXBWoDFl2iJXlobS0zS28Qbs\nYP8PB/1sb2RNsIbsv+TzY55Rn7mKsVyJR9RSBi5/uWm36zfl7bwBEunNXsrn\nJ4e598WRB3XQGCPGUrsmq/DuCGgPubTEe9IHOl7OIwsg87j7cfosN7uupFPl\n7AE4hEhW8g1fkhab0U1Jg6awxPDi/X4ZNdTgop4DAgilzAdszt2nw2x1V1kY\nO7Cj\r\n=STO3\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210218.d9e7d3a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210218.d9e7d3a/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210218.d9e7d3a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210218.d9e7d3a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210218.d9e7d3a_1613636172573_0.08077815657590803","host":"s3://npm-registry-packages"}},"4.12.0-rc1":{"name":"@microsoft/bf-qnamaker","version":"4.12.0-rc1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0-rc1","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"41e794582edc57858b326737e5920e5cb66ec45a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0-rc1.tgz","fileCount":142,"integrity":"sha512-2owjF1ZyZs/742jwx9BkfGnHxG8yrCe/layV1fd4PsAtkTcqHERm+xKrBwHKnk2eGuPpcByJJtCx0WfkXruOqQ==","signatures":[{"sig":"MEUCIQCx7SnLBhkdX/sogBNV6EqXS/nZ9w1venxrXYI6eH6JkwIgEEcmCnc3lHMIotoIGEz+MTeNbjLTps62gB2Y/MI+358=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMGRzCRA9TVsSAnZWagAA/hMP/3xtoyiQc2W/LlLQTqXm\nUQmytPaSGNUux+1GWzidL+UxSm2TeSgTty9GRRH95a9HVfHaj7hn3XhqOFuE\nTYAKFUE4kstIwJPceqiPOEF9uRh29PXM278lIwnNKpzcN46G1lJQl6ii731x\nWbu0ziEjAl4uU4di0dIQLeOoR/IY5RxoVR5POV2KzTM1tlCv6Vky3ZroTWYD\n2N2VQ5yFDbGvTmskToorGYh9/pyHjRLMLivDVWQ3b6I4PDIJ3JX6sjg4/WWW\nWAe+Wl0OgtMqaVX1Je+yKC+5Wd93WEOSbNDpfzlAfKjQf3Eu00lSn0DexT4f\nyK0opqFdLAja3j6PLTpAyLEKEbNwYiPTuVDlQNSKK0KqnKC1nXHCP3SqwLLN\n+RSneXgi52eIHp82OYNL9lqK60fbWnbM/4nTm8NeNX9aTdQgTBVox1y7M7Zv\n/mw5DPlowqtAawRX7nam0A6mj0K7gRejfy59bZMlVzChDSCLiSqhbxpWxRT8\nDfR24zO2sDPaGeHlg/SevdreOm2Wt6QPZ26GHASLrIZUqzLe5n4ssHvcseiK\nQj+u5pYWiHQU7MljKc923PP4kNUMS85b/jqJlLDAofXJ2oucVzeDqqfkiPv6\nf28upf04qIguDzsHfc71XrWWkbRWQLc40mGMqukeIZiufnXpyCaGuC/GWQNQ\na8FK\r\n=gNs/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.12.0-rc1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.12.0-rc1/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0-rc1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0-rc1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0-rc1_1613784178797_0.4008320287866973","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210222.5f35a0e":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210222.5f35a0e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210222.5f35a0e","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"2f98f46f7ad72d94887d095a83e6348988d30617","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210222.5f35a0e.tgz","fileCount":142,"integrity":"sha512-QfOqzo5HNTjef6fClxW6Gz9W5n/LdHudLwYHPLMeHYPduYsIay9akwYn8CooLoB7Wi4TdL352WrrkzbfZqTm6w==","signatures":[{"sig":"MEUCIQCFvU4Dj3DMjHXrzomVzuw1xQF9MEM3jLBRfOYlYs9VJgIgG03j5bmLwxqoju/waF0ncTzUkXSftUiYZG1oG/4w+MA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM2iuCRA9TVsSAnZWagAAGroP/iB0TSzV/k3k5n6B/hgW\n+xSJJKpIMcBtBu23q5HsuEqAy7oBOU7F6C/7RR959r0PE3uZ5yKvDCxwGtzm\nuEwoRAOZiMI1GBbZaMKX3cyJzA0d1o2+uw2lryFGt/SY0icWl1DY8lrNn2bQ\nXAlRa6Bj9H+41X52R9VO9YPhCtIr2069UsUXduXUbeRpohHpZ0/QJQGJ/7bI\nxHBuiAElaus04B1XkEZxxjD3i3VLxuMAxtzfUR0CHVIY0tLugErp20j9AdH/\ndGPIcstdy8YMJBA5jUdt02D/WP92aiS74O8RQwg7J5LreKAUEB8ZfQDGXXsr\nhZykb+C1c5OnuVd+WB7oP4m3ErskEJe4JzhOPYkXaFzpOCjTPqxG1cLl23bp\nuIy6IJooDbWq7VxOv+etkf2Xzt9qzAcVrz4KwPzHLO3Fqg4Se3JkiL+gmAmO\nzUrcbjrbsr6Vdl2qrJxyd6kpu+tx65TsyWyW3bQp1jGx2gJOPVSl695Dk+ve\nK5aRvX5VJ/xgUJqyzfTH3iBaFnBOLghkIdQVk7ouK8HVm1frveJgicsgfv/W\nknvqL7dOukuTV62aUbTmiL1NWR5qSqx7ycu9Qu/AyOi0y4jAdeM7Y8wcRBuG\nLpdw/SLIIy4plO5i3MAej9bcFzaFzuAOyjP36ds6uLmJzx8BwL2TbyfEZrCg\nT6eV\r\n=XShW\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210222.5f35a0e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210222.5f35a0e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210222.5f35a0e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210222.5f35a0e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210222.5f35a0e_1613981870271_0.3947892945968101","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210225.ab2ff4c":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210225.ab2ff4c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210225.ab2ff4c","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"4929220f3e30c754791987aa3b36fc329fdb448b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210225.ab2ff4c.tgz","fileCount":142,"integrity":"sha512-vk/yQPPoM74pC3Y6ITnebVOG/b5CCK3QTqHIwLA3NdXx2pVclnNWp/KCe8utXVehekz6M4E9M9/IsrwE+XuE/g==","signatures":[{"sig":"MEQCIDBpBRXSi2d4g4RtzLuU+8s7fvgEcv47zaHQdbtdsFsSAiA7zlyRJRAcT71k1RK3Y5EB4/Tb0sONAn4oM2at8vaUXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgN10nCRA9TVsSAnZWagAAWiMP/RHt6TkDjVzACZRIkoo9\nQK0TWrHV7gWkNI1XHj9bs6FBoOo7HxyT8VAJCrIjDGhbtuNeUYkhdpmFUbhQ\n6NIym7b6lUzElSy5NYMVXdYb/IGMeIItouGuJm/Arh4Qt9nt/jgEUAaOx7a4\n0bxr4NwvpBjoJBr2LD7NNDEBLRqT8XCvxntlrs3kTZt6VM8VwImftynQUqqK\nm+76R7ETXHtfeIzVGW5v7GBLHxPUgeSVnrAV1gbWSP+Tt1/3itiq4IFb0tiB\nvmfOpkP8PAy5QOBA08fR4W30f49FNRX/+YXztobxgG4uRHKKIQ1HWWOdmwmr\nafwYWzf+Z1kLAjaDZOF0c+ltqaiUdeP6Y7bJyCbMKLNNjzAaMDagcJHoqv8w\nAlmVQ36EWyoX2LLegyS+jUaB3txGKnbX0RFrbWlEScNMsbBT7Gu3WldGSEGT\nyvVBEjT0rjvjwsGWcP5lgCdQ9nCxCMvJyMbHBIKrb9OSfu0qyzLtj9wNQu/M\nlxa1kvFHYS4LG0VL7UrfSEVnreYPyVf9BSSWiFgjWVa5NrNhK6JFL6+xOEY3\n/5dBV8rI0Yp0ntsT3AM/F3E/bD5Ka42Vn1LfZbIKhOZoy9xoj62Bog4fhBxg\nMI6TeJdFuGFuU5zI/O6LcnqEtpBMA3GwCwixbGEAIR+tv+/cDuW7Ait+GcA6\nXZfp\r\n=Y2YP\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210225.ab2ff4c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210225.ab2ff4c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.10","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210225.ab2ff4c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210225.ab2ff4c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210225.ab2ff4c_1614241062952_0.8019514304806903","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210302.8d7ee7f":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210302.8d7ee7f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210302.8d7ee7f","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"bf40894e462774070f6aa462585ce9f9e2c84e9c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210302.8d7ee7f.tgz","fileCount":142,"integrity":"sha512-WhadYwStNzNbTy7iEJhVJRknaND6nwVMCy1k/devoSOuUumhhEVZRPujI3du2aReMHCmFgTN39i8OF9UcFaMJA==","signatures":[{"sig":"MEUCICo6XendlR2oFa6PnPeDl0g5WweuQP3AZg0aTssn2Pq4AiEAiXfHR/45WY6sKyJ+KpgriwWYJKMvp0TUKTHEz/Z8CqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPfRwCRA9TVsSAnZWagAATnwP+wSIvjNrMUzX4BrWZ4O1\nc5VBX+F4cI0saO5l6nOoiYM01cEDB+9S+tX6MFCUGsToT9mhagSRxz40Ga07\nS48U2k+HrCGnq5SfGkUHulSo1lnnWAQCwNKXhUNgRhG6uNbzyGPwV9yaDcFR\nmOo3GJQ+la/kHwnOA2ik3kdvPFTAcE9qcAqsp/ZX0LhxuuaQRjFrjstRjbM0\nNjv18zqip0KiYRq4hfD9Bw9k2E69K4mcvYCfXi8XX5KZU3FtN6ys/L+djbJv\nhXEhtiMWpLZRSeDVg5KLmkub9hHkHaNzzg+cRO5m+dwQiIYCSy1hXkIumJhM\n/3VzUnL68pIj0Yu1OW3RHyw9DRWDTdRkId5/0flSc1Oj1NpzpbravFQAwvbS\nYU/1GpXcqofAbHe41x8QPiwHGBgCqmxMvVqkwH1VSeHPy3iQvKV8z34LbGgx\nL9844ZJqQpvQBApjrWF1VJQ0w3ZUKyLq40ITJSrxwZUwFVzRRffPIrMzh78Z\ne89LOq/NUXUqseho6ai28WHhhEsXQVaE7oiqIf7WqSazbITMPxboFOkQOOeU\n1QqkXXXH54QsZIcDsdfxC48+am9H4DHZJInfc+a+9qcJ7J8/Ih6XktEFnjbi\nn1tv5xdpfTPKGhdYV02Bxz3JFPPgI1mvFqcJ1vQio2uEYvqiZeOLwzRuAFaw\nPa/E\r\n=sW4z\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210302.8d7ee7f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210302.8d7ee7f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210302.8d7ee7f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210302.8d7ee7f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210302.8d7ee7f_1614673008028_0.9773448352293261","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210303.7004e0b":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210303.7004e0b","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210303.7004e0b","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"16a1a06e71ccef44fa593c4dbcde34084ec99314","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210303.7004e0b.tgz","fileCount":142,"integrity":"sha512-dCsmbHKcpIAwSAHUenDMvUHmgu+qLQOGkuo3uVC6Wa6rLhvu4C02bfJeAqI+ZvabS3z0+DU+6U9M2tZ3rbZB6g==","signatures":[{"sig":"MEQCIEw4mcOFU8HiBED5YwT0ZOMdqKC6vUZy+j0PXwfDQRcCAiAupi0Kr+qu8VJ3VryasZl8edZzZ4VXLMNvz0KiL08l1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP0XjCRA9TVsSAnZWagAAwsUP/27F+HmQ/0ODzVSjxz4I\nN/CGLrKB1KI5uURd7qfVw++cA//mO49SpzKfh2UFUEtLrSDPnzOCCxUHth8S\n5SRZd5vL31pucWaaWd6TOPN2J2Fqz0g22w0Z+opQTy9lFhwFIAVkE+i6K0rI\nwT8a6WrfNpF4YHEOyIbkpR7WBzOPE81dytBiF3Yr7/0ocnvR3e4PXoam+7dn\nVK3Ol3AnigJ6rPdAQF0KyK2j6Yw6HZD46E7/f9PmjD5uucqp9X4zvGMXdyBM\nfekiktP2z+kooG/r/aOzZesW2aj/QQPLuE5r/thwKplK9ccJEB9Ty5xWgyoX\noP8IXV/oO6/9BlZEDtizopVyJYh1xaPASThWR05JCpeFhFp7mh15SOH8gsnz\nskLecescqr8TTu/2HU7e861g9NCSi6kYXzsWkHh6AHkNKN/25ng8JpSnyD9E\n2UZWX7h1ZDcRmAqNODSNOTQ307wodsrQfdez5lOx4DZvozm43vRMNMLNg0Gu\nQ8w3iMUohoSD1+0iPKAilcyzUJwPFfPNXt7Am3O+5nvhWJB6W6k0RXdyXa7E\nhIsizkaItMjZyobttLCtInZxWG/3eVq0uhPZSaiRHr0faSPD8q3gu3H4lY57\nM9pGycBncZKA+iIRoyUBwnEaCV1sb4BNuDttGRMJIxpmpDTcnQqFxuXZ1K0p\n4HDr\r\n=oMK3\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210303.7004e0b.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210303.7004e0b/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210303.7004e0b","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210303.7004e0b"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210303.7004e0b_1614759394414_0.402048127362463","host":"s3://npm-registry-packages"}},"4.12.0":{"name":"@microsoft/bf-qnamaker","version":"4.12.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.12.0","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"bec386fca6e00443419c867e5cc8e614f100af23","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.12.0.tgz","fileCount":142,"integrity":"sha512-2JPKbPNwlan8G2F17/vLDfQ+Y6fOltVqJrLuqUyY5Nh685HwRn7ImKPD5Eu/LdDER8lFnDtQ7HJ1VFEgWTsCjQ==","signatures":[{"sig":"MEQCIEumxfQPvKPaCYq4nMlLtSVOLXb/5IpcOnTm65zDLopsAiAv/AywnkFANA65oHGzIguhyUuHciZtF5U4lQrtIMY2rQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQXiYCRA9TVsSAnZWagAAAPsP/1Rn7KV+14Tg5xH8gv3O\namN3WeJVlPeOVz3JA9tOFC2XX6LBSSqypdbTvvYWX4pR4l0rBns1qqrTFcef\nOxy88IPAykG9eqPQUZR6o1mOzSdVNOOpc523hzTmrrvhSJHlY6a8+Em4fobt\nIvaHALV/NLNSOcUFMwyUKxm4Mb+EyPiQgH9OdT+KY9wfgEakPdBjW7uhEt3H\nvYeI5RaSn0zy5xSgJVvR98KX2zmBcXnjb6nenWCDtZcZTJblG10TsNvsydLg\nBJuKMmWhNQwLZYJ5jd3KgGz5rFOZbC3MbcwrsY+aNqJH1pk5zcH4wgzfmAAB\nLrJdyIQMPGVZdttLAd0H/YL7qREkNVHsRY3ZKVvW2HiAN/c4sVLclEWy5zA1\no5qKHEEd2zgMy6+Mqj1ixXL80axqG4KSisUd4ZgfgrDtGUSiK9/spNmkmKyC\nmEYekrc8wnVs0gtRkf83vr0eQ9fnBqsQ+BoVHeE6zgzFmFNQznswXmoib3rr\nzSM3//9YdXXhfH6Adc8/LYbpZV7YwBX0vzreY1LIAI/SsQ/ypIX7XJ3ng+Mt\nGEbtL/XD2iifz/UJosgbHdPn1rL6l+j8D8rlr1IZcEdHpn+UxQs65Ppqw4Vm\n2MMrA+C7RFoB9Yr9fJ/V1dBydLcWYubUnigsYTDg2ItuHyCCFsjLsCJblABJ\nU4za\r\n=TZpg\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.12.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.12.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.12.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.12.0_1614903447741_0.6545270476194418","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210309.33c7b6e":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210309.33c7b6e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210309.33c7b6e","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"2060467d02b86b26040443db87b205e789dd9957","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210309.33c7b6e.tgz","fileCount":142,"integrity":"sha512-1FhOFpTkB563GCdwQgURnbQX0YVM05yOgD4UlxP5w/TIsKyGdlqq/2+srsCHqeJjpdP0l53Zrot7Z8Fsg5Ob3g==","signatures":[{"sig":"MEUCIBfpBtDxaHayRM6buTevaxhADTUB26khnaQU2WTbkAN+AiEAsU5gzKiHKyouyFQlnVcB346L+kULXXtNuTPZKLMWsNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRy8SCRA9TVsSAnZWagAADXYP/jwAButG14F+XnPkQ5qg\nrD2Msl3SmNEsPCztqB70ks0zlha8B3QGeWAXX2Y6HqaMZhy/7VcfYsRPMcO2\nhL32/1sHMyULL2EDD0f6jUhTTOTORrOX4n8GLImbeEfW/Gr4/QVpQj20UgLS\n6z0o/2EAIuEs5tG/ZZ0JyTNaRZruD/QXAGPtN/p1ugNPt5prAweJ0A3BW4Hf\nq0fAEIvLznvmdb+jSOCSUCC1X78Z7QLglf4L7mSL9ektKO/WKfc5whipiMtj\nPTJOrgJLG0rWbC3bPiU3v79wmG/Trmd+26HrwMfZGOx2L+vMQTpSuTAiA/l+\nSIFJOv1mPJz3D2qbVc9fAA4Lf7xMWSWEpxFqnw1KVvP/1ypSXzUUEOp1LSTC\nQWVFVit8qaTd/QqfR+jeYAnkAd1ottqzgvx/rDJLIDH0pFxW8ASLSTeNiKkj\n8iRpfr8yIvk1+4gbzClzdnKZfLKg+TMd7vxUyqOaVncVJlIRi2/5atgxq4tx\nYL10yeBzU2kxmpO4jLgiSRZeuxpVRdW9g5FlJWXQ9HIX7BtoykUZTvtJlZRr\nLH2j/J5VthuJ9juTDV06WxUNJ0EVuB/ywQj1iNFhf4WnVx492pQ7zmQ2QHa8\nSzoSHbx1IGOZeuKjO7x1N9Q4RUJhEguWSF1c6bxS62O5INtQ+3+yQ9jQlOo+\nirUA\r\n=kwK2\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210309.33c7b6e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210309.33c7b6e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210309.33c7b6e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210309.33c7b6e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210309.33c7b6e_1615277841787_0.5636502527852831","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210311.ea3dc6f":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210311.ea3dc6f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210311.ea3dc6f","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7bc5cabfc6c7f40bde36467603562dcf03751e59","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210311.ea3dc6f.tgz","fileCount":142,"integrity":"sha512-fSjbk1ml+ss2Qa5PggFAnrsqOJCpGtin26ZxOL8yALlEuRNMaI1LsOw6gfylkBPtlgykk60j38D69dNWuQMu5Q==","signatures":[{"sig":"MEUCIBBx8BEzwcvyUp/ZUhO6wWJDAFU0XYECKgnM5nkriUBgAiEA3VOVPbmyLy9jelPNNdf+C0rWbP5nGZWAofwCVMZMtPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSdICCRA9TVsSAnZWagAAyoQQAKF/DZ1gGtjCnCE+w0RI\nHLRX3koDKl7sA95lPERDQnn84SkwQiwgXmhLDA4eCYXRPWZfDWxueSXPV3hI\n2TL4Cm411m/JQo7kjp0HLArBCzVd4K/pd0rOnE156LrErMvLv90xIgoYxbDC\nHAy8Rho1jv0iu9bnJczTVJB9AKCS4kFY3gwb0+CPURXbzROYXvVutYmlCWls\nNM9Rcm7065woWC9o5oZclOlqAtr1RpGndX1SjElNuD5ZJyV7UqLG8t0BjRbj\nZf+NOw4qQbM/pUPm+auejDQY7V9+CUMyZSVGX3K9wzkHwnjHvaXwdvM75JQB\nqz6YXhbaEM527daSTMd8Nk5frNCR+j5WK8EVMqnzlfZM7cpeYUUq0IqnHRx0\nKYwPxdMnbLTnJu1fZTZvuVUGaxL/KLU6To/LWh+DJlSg7aBS3hSiQNR8Byxb\nR+311jPOvxIirz69xdNesOpx1i2z0fCB85SbXOi7JYYJKxrA9W/pFp/F5zRS\nRIzYXiayofum2pJjZJGfaIUimO9Nk4qXdYlvx43Ekucrdnl8mK/Hq5sjxr4q\n0R8DR8ijewcCOE+2vQVVYVp4bMZsQj1HMYJ6x1zjqG66/ZqGpe59YeZ32OgC\nXaGT92ttlepz1oIfLR7aGQxTzRCzpmXdfz9ytEELzVbmd7/iBbi83Gl88GQB\nAj/k\r\n=toso\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210311.ea3dc6f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210311.ea3dc6f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210311.ea3dc6f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210311.ea3dc6f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210311.ea3dc6f_1615450625900_0.8182967396813703","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210317.7efaf27":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210317.7efaf27","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210317.7efaf27","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"81d758072040c73ea4dab95b46aa14b3fe7d5134","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210317.7efaf27.tgz","fileCount":142,"integrity":"sha512-wwSQ9q7Q8lSIZJ4JxKfGiZ/fI/U1g92FF3Os38l8vK3RRdF4REO5Bn/ZpVE4n8mE3O9xfr9YzovnY86pGY5gbQ==","signatures":[{"sig":"MEYCIQDkDWLFl07lBqHVp/AX0GFIoa5qtV44RykozLIUkDapHAIhAMNA7l4haCqOb66Dcb7Nea+FFlC9ftq1SiVJZIGD7YZk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUa3uCRA9TVsSAnZWagAArj4P/RJz2wpBzyMB/lL4yIHw\nHmEc4JQrljO1pAZKi+lzB8tDrIVlhs/yTroBd02lj7TLfQAiF8lLblkupxbG\n2JkdxoOQg8gYtY7ZOXP5UFbkNGP94vHg3EQJ0XhI7c1v7yVTeXQLNiYARbKx\n+D+0JMRfAMK+Q/079Mbrhpvef6bYdVNQt/p+LojhrkDw7prJDfeSfZkgSDY3\nGlEFW5jnpzhsKPY9mBfYtiPuTU21IqddZ1skHN2Bgpmz7I8G/qrYVJBptv9/\nHfBgUswVeLsFkuioG6gXZ4GPvP6dOCufpVgTAbuFODWuYv2cpWqLKrlsOJmh\n0wcUoOC3zNQGqip+qj1HwMAv6qlDvU6eGd3MnXbhrVN2tq4T+/wqfB7bo1r5\nQWJLIbjF/4V0Kz953FQqtl3eOhiUZ7u8o60s2aQlQWtQLhrX+x+6UtwIGLUP\neRmTNln9LjmgRXHaFJnjYFAh2im6amsmv9SRundrB2Y8Cj8OoR3mkPwNEnli\nwA/jJpNoA4XCJtrN/8vEM/l8bEIaauqRu1VcRpM+zyxyA+kCQgT/kml38ddz\n7snyXTzWBkeIvqmjguTupwzLDVAZxhfpVog5RfPPYix/DJ0FEFvHn8kkM8PZ\ngcxBdJ4PnffUCSsdW8KQcrdwxjKm7qgd10Sd+0U+5cMf4j1Z1sQ2EHxpHmUf\noxF1\r\n=S0Jn\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210317.7efaf27.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help                   qnamaker:translate help\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\n  --srclang=srclang            Source lang code. Auto detect if missing.\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\n  --translate_comments         When set, machine translate comments found in .qna file\n  --translate_link_text        When set, machine translate link description in .qna file\n  --translatekey=translatekey  (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210317.7efaf27/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.15.5","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210317.7efaf27","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210317.7efaf27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210317.7efaf27_1615965677854_0.8095122806393902","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210318.2aac9b5":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210318.2aac9b5","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210318.2aac9b5","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"6bd8b3352e457b08ee8c3a9fdeb82fe875832966","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210318.2aac9b5.tgz","fileCount":142,"integrity":"sha512-iHf4CZYcGUg5x/ygTaEVFvzCithEflW7sN4bZ0/TfoEG+jFsgyYsZgfK+UPlB4IEqJx+QFdeQAG6pUPYcI0kdg==","signatures":[{"sig":"MEYCIQDh4CfZIgrDGM3OrJzEU1q69y2a73kVVj0W/VE7RIb8EwIhAKBoWjIIsbjRyPJxdgx66uR4NvStDh24KANWNxGlBqMl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUv5hCRA9TVsSAnZWagAAzxMP/2okN/y4EdpaYW/iUIOi\nclMKLmzRuOMB3l/M826SCnxFTKQe1fRiUoJqjqkpwq4XD/b1Yl6AHDWjsQ1J\nugR3opPI6CNKGNb5TgDPI4a9HXgmu4I9cmanD6N+Fi+cYGgr1JjNwXeeXo6f\nFo9yQxFwSa1xPRe65XadFeUyNidr+h37BGtIuraaM51hp1TmxaZR4OOztdmM\nnm3WCqeqKo2/35M7z8Vo2b/vpkRlxf6cloSJvUr2bxxw9JaAMRCgKazP9YwO\nRrKhNTFvJGaWmJnx0nAmmIWtP2lIL1MIB6vPS3GGBFN9VHzp2CmOPYli430W\nkLYpYt2A22vAZGgD55eOvs1qswll650pmA6drZD9ECYucwScYpAHyYUHykt1\nW9IQcxW2v0TsZ2sSabgvLTS+SbHp6cY5/zCNB5o5qbv3/NLUCFk5p6tGi8/A\nj3XcCEAcoiq2tBF9A7bR0PNDKaQK0bz6lWtd9Mo8UXV3/H7V3pEMe5kbETP1\nvaRGllDr06oneD+CpqqIg34COhAKfvo+ko4bgsfj8V+G0TjOnWzQwJuo0wir\nSBcFbPUbKMxnRa2L4zIN/33C9uqLhHJ208QJCO3ALMjaMuhxrytpsTpf47da\n0o+Mw2PHflo0kqj11pdIOBZpWIjFBogBXF2g6OlUHXTkHYSSTgfdKb35BLdY\np9tp\r\n=tNqV\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210318.2aac9b5.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210318.2aac9b5/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210318.2aac9b5","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210318.2aac9b5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210318.2aac9b5_1616051808434_0.03387992636508419","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210322.de71c51":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210322.de71c51","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210322.de71c51","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"12946d250ca8c3e18da91189bcb0bb32b79758c9","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210322.de71c51.tgz","fileCount":142,"integrity":"sha512-l8gCk2P4S4AoGCeZEzbbpF6MOI5F4JEjRYmAi3ODrB1qGVeCeGLd2PBCHp9K3wbiZZBmZ7wYxwfqWRG+qBMIbw==","signatures":[{"sig":"MEUCIQCoHRKPSvDDBZz5sZFIktAlDIFpQFRQ8QdvwW09zifijQIgU5Axdn9GXiaW7JLtg1uQ91jRWTUyOp5jfuk42pbURGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWESjCRA9TVsSAnZWagAA50AQAJRp5oHYOFxZG1HEm9Cy\nh1hX4AXQrCVyKNfunbM+IrdPW3iu9h9w4OQAsTKt18gaFWZX/E+msw3B8SVl\nGXzMlTiFgf9F3ojLxAFazhROZIPO3a7ZF65inqYgPf0/d3UBMid/0bVdjtK3\n0//ND+Q1owOSmumJYswQ53NuEKbuSTgnW2BSWhfRbm6Mry0u6S0XCp0v4Bub\nAEJGNh7ZCmPY0S63l1Gi2R7f/QMvWvHKyjDWjspsesOdgK0+M1Gqgm/Tk58I\nIhDvtypyJkLtXqp9QBi9NkOT4piSsx2owR5IwXAhta4FibPJhfBf/TB5Ix6A\n49VpnGzu5vIbUss2jk6GjCWSf9PkpUEKbIc8D9tyeeLQENbl8IFRYfJZCoNO\nV8DQx2iaf1zXgfMLdq3EuQNMcwXT3ddq9GddwAzofzfPj0Gt/0Ruj8/NCFDp\n+TH+Yk/9YaOyEs+n6NJXbQ7W++sFFThx8zX0wiUFQgu7J7t+7iAuAkI2ci7X\n9mJ8t8GYDHSKn5dpwDg49fGyelVaxbqN954ZFtVEBOM06od5QdfW0bbCxK6z\nM3uV9kMfwgRRLyW5M5xTvpLcCCja0vl3LxseJLpcFz53o7HGiSHMC2jEwZtX\nJFNO00cFvBMOHFjzzvhX4yE93wHadOBCvtkIRTnAAWLsYi4hyVWFfD84wH8B\ncUIl\r\n=kXmW\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210322.de71c51.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210322.de71c51/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210322.de71c51","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210322.de71c51"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210322.de71c51_1616397475024_0.8376454477748803","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210323.8f22a9d":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210323.8f22a9d","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210323.8f22a9d","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"a62181acade5e529300749f0be38c776289bc87e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210323.8f22a9d.tgz","fileCount":142,"integrity":"sha512-OkTm427EuUL29j0e8w+rAB1v+sjAg1e15RB+pdoAzpZLwtk7EPOuRVJCvowvfYrEtdkCP5nqrdKZxmbGy9vL7g==","signatures":[{"sig":"MEUCIQDEuPdOJYW+eL9qK1IApfMEhW7Cmj6mcwevLoHpDkUGIgIgR4Zam1xHnPhIUfNxNbuC7B+piDXyB/ygrx8cJW29F64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWZYgCRA9TVsSAnZWagAACJwQAIwxrveho0IJFNILlRuJ\nB8TIoXUVHEuF1UfD78FRz7/8FI9NnOgq02kfl4Lr731HwcBh+xS7d8sCpT7j\n6UvMSKPg80Jx2l04PuALzMH5GWNdUZVX2wCNcn9+BrhjdV97l3BTLtKCw7ZW\nGTc73W3G8NwSFc0Tfkt+1741lr0YjBtVNCJUS4aoV+x31lbWQJVmS4vs7yvh\n+RIHEih1bYRgRLBjilXDYVJn8+QNOCWMfTTLG1k/fPUIu1XN0Gm4E2HeA5t1\nhyahYKH2Bjd907mNzHHNgviPO/K2EPoic86uK6uBxTows/uUgJ7sd+8QQwtW\nekLVN5AHjWzNqbO3NbqymxvvCqVEciaT4TGdf7382+AGIuII30K8FB/6liwv\nX0NF+rb9OfGQFspEZ0yghbt/kBz8nalDTPmhoAJjNLy73lIiWJr4mHbiDVLF\nAKcTwO39f355xHHfMCHifF39Uz2Xa4QJf0aUi7InXKF9sT9KwDpF3O/ThjW2\np82KQrvMUw2cypSQb6fdkDIsCbk2GUgm2VyzvU8zRsn6zxddIS0IiPeD5rJW\nlBXvENnl5TMRFZQ6DfV5xV9ua4qP5khuEM+ud60lp5X8c2QoxAIQUbkj5rYW\nECx7Cj71wYENyUeTZBX1npFOgSvS/LoGJ41Qus9xlsb3DD7V/dQZRF97xEoi\nK4Ln\r\n=Vtsk\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210323.8f22a9d.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210323.8f22a9d/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210323.8f22a9d","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210323.8f22a9d"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210323.8f22a9d_1616483872225_0.7336826581464415","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210324.2241623":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210324.2241623","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210324.2241623","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"843e4dc9d6afd6c8fcaaa1aff2608f00b28f25c6","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210324.2241623.tgz","fileCount":142,"integrity":"sha512-KPZBZq6agbKCZLh4lAVgndkZ8MOT+UdabHT1yDZ1NHwpIYpevzS4rdzMIc5mWGxViihmlMVxS31ovEEoyJHOOg==","signatures":[{"sig":"MEUCIQC7Gdy6pcfwNHAVI+hzQkAOXR0yWccuiRdVS3ICBo/R/wIgZaYLYHfCKWvbpYquOHGwjKHze0n4bzirivfqCrv01mo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWueQCRA9TVsSAnZWagAA+XkP/3bPj9Bw68VrYbbHLr/E\n/nFnePvN1MgQh6SNeHM7xicOEvkOt7ToDGQKC7K3ADvyFI/ZwX5lOlNnVlys\n5+aHzvOYrY0ZurUROKJ3ntLsLAPlLEKy4sbezywEGxX+uOpyEYHNRtnnw7o2\nVkuhnpqcaxB8NsS8ZsjSOEg5/Nd84DXxueAOUHQK7k4J/uW7Ije8q5OTUO9l\nmuZ/fSk0hEfDqMpikEG3SEFbegE0lF14KLhqJHQiHT1qmFM6+AicQF+ekuG4\n8EaLWwIlySFcAc0EYhN+oTkY7yc+5nsT3Xtyh2+VFpQpWzhp6PsLINsVCe31\nddjHQ1eAVAKbJK9zWPb93/8k5i8+0h6RBoYFnMNON2Xalz7jLojh31dCj7+0\nc5EygG631hdHf44G77lDQi/tdG5mYyd/kxS6UnjlVdVSqw/uZQByr09qzG/a\nfPtaCGvRUdF3DH7Y/vrJ+pHpf6XVTE3QZ+CQaHHhzzLyORzYmimQ0uzDRmnd\nVxZEgJJvZT/hFFWK+rmzfn4Q5lErSpuNAjkloASKwjCRHNZ39QqTmM5VQXtC\nrpBKfhrLjoX0FeUT+vfKbp7R2f1ZYSLmt7lIftDeVcCC+MhLRQr3NrWntheJ\nLn7G/u5EiH15E1dQlQERzbTSpRFW/aKXt7hG7Yz9h3DVJYnhzYOKp8AjQfZu\nOFs2\r\n=AcgI\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210324.2241623.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210324.2241623/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210324.2241623","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210324.2241623"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210324.2241623_1616570256183_0.26104436147358756","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210329.edada32":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210329.edada32","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210329.edada32","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e63e3b9e722a7de4ab3806f290b18f50bf208e8e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210329.edada32.tgz","fileCount":142,"integrity":"sha512-4wowZdcsP2+jCtkpbJCZn1gIm17X7ENngHOUCs0aZK1NNdD82PnZ6teWnMhFKPSbtLhuEK9oowH1CpLDiadT9w==","signatures":[{"sig":"MEYCIQD58O3UQojXx+0VA3VO01rtf4YcI5aURI4LSzYHKAZArgIhAKXsvIIf4YB6ngxSTWio9Y8ZVm5rSEHihiXjFJ9mSQSm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYX9lCRA9TVsSAnZWagAAcF0P+gJXss/+M1iSepsIjtvy\nQRqkVdNP5/pzJ2jUPHwWBXdCXSoa50msnXZRjKgWx986Wpiz1xVkVrBLw0fO\nn8LocGvG9rn4XP+ofHrzu88bD7jdMJMhfmcZ3wK/amNZ+/mzV1x1GRdMHG2t\n0tYClWW2STxGAuzR08Xj6hrgaPLrAeXmD4GMq6Ebe/UlY0VYdv2kMFqI3GmT\nTIdnJzl24q0QLsq15iAOEd0PHrKQ42jFcPpLjMPQc7QNJ0VuoIjH4Z85Qr7b\n0OAHqwCWtwt6uleD/58FD/TQNMHVKOvx14ABCVMennd7UYl8IxYxw1ePGNnF\nTgIPGtecLQo59B3yDlGHaDit8y87mD/T8YrchUZszZQPcbUF3+4Yhxd4EA+u\njxVAxLYdSwgTpWQ7QPMGOtfkvwVLiXV3m6GoF3YawMtHA5dOWgPbDBlcMwaT\nR/tYsGLPrnciHUL0EBVlg52DAnFKyMXCEQXTfHAT7JcNnnD/swXYL/cGDxjG\nZ9vuhNkY6lFy7isi8iDAlmEODo7DUlYoks0OgIHRhrP/d/UdiEJyPxhfOyLB\nWLBlVjI4f1uQ2p22ypcgBYheT4hb5b2cu7Wk3QAWKJGi7ZuGCNFbq3dd17FB\nTFSfWPMCv6VXj5YAvdzB1K2YvYglfvxMFDImWbAlUoicxY6jpm7rU7pOvx8j\nbTu6\r\n=3h7B\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210329.edada32.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210329.edada32/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210329.edada32","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210329.edada32"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210329.edada32_1617002340971_0.3655515634138198","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210330.dc0594f":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210330.dc0594f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210330.dc0594f","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7af651a2e3ac815133c4e172ca9e7afad08cef0e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210330.dc0594f.tgz","fileCount":142,"integrity":"sha512-TtLyWItYytS92aqBUqojgyafDWR2ziGRBlkBpUCKuH580H39xLC24ozvwHt8KUU6B+Odq0FAi4cNYOPo+GiQsA==","signatures":[{"sig":"MEUCIQCvQPhQrX/3bOpEZp5/ZYhzuNkXYouK+PfPWonUeZ6lFwIgZcBODqj+4Ud4iP6sUPVdM0NWZCfQlEl3fO+K8fxaKi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYtCECRA9TVsSAnZWagAAOJkP/jEkMg9GLpdos4p/IrkL\nmuZTjiWGhN0q/LP+uj6n0RZ3vvY3P2gxbVHKI2OLwffcG5xuMxxY6wMiPhSh\n3Tv05he+szmkU1igVF3KKopswLkJndi2+QpF5dpgp/xFyYPbU6NAV0jvarAc\nHR6PUBHf98xeISaWWSgs8Zf9bmlsPaEKkJSFwIQq6EMxPxpHhnmQVJGtiHbf\nN19hXDyuUCHrBKf3J+99HehVS1fwgOH7nlhQ2kuhCu7VgCLFlH9mcyCH2rQK\nNuDYudHkSzxYSHju62hBskWT9WTn+omgm9cHCaecQobtAPjUEur0LtuL3TVa\naIPdROPu7CUjZfiUEsNgVVs3gVI0C7LwBMm61nKY7ggpkrWZjPzD7nHYk4Lz\nopmrb60T0HlsANVMn+inLT8cU55HFGEAVbkjR8LVn00/d0sYPYBqoBiQC2Lt\nnjnNEwWBiNxiIfy9lxf9sgPBDPwNxfyPqSdekChLMlxUAvdWfEqKUgPXSl1b\nDFStUzpuj7yLwVsYCjkDUqPdMjLhdhuhRiN5F/UrZ/SBWJbpC1M0/1qiEfiQ\nmVFh4JTKa8RX6eU37zbnX5bzf0jVFGKdI0PjnOC5W2hrpdFqg3g2T+kGwAkj\nTdaw6Ij3Cf8gpjkqkzzJIy8n2Su9ZNfZbw4NQn9CeE7EYmrz1kjxuba5UprV\nOsMh\r\n=70zm\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210330.dc0594f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210330.dc0594f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210330.dc0594f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210330.dc0594f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210330.dc0594f_1617088643944_0.8908423454583936","host":"s3://npm-registry-packages"}},"4.13.0-dev.20210401.8dc6ffe":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-dev.20210401.8dc6ffe","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-dev.20210401.8dc6ffe","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"3b6dfb16d5a2dc198fd669d61c56cb4c56d34f42","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-dev.20210401.8dc6ffe.tgz","fileCount":142,"integrity":"sha512-1ReY4i2ab3Hgm1x3ERCq56KxwYFCtBugh8sctExsI+H2a/Z7aIj8Uz51Pm+dRY5SLzo18XCeHKMTzo2wErf0+Q==","signatures":[{"sig":"MEQCIG4V9/EFmue++1X3gXVAYHV3eF3pEOcJj+MoLTK3xs+KAiBfS+q8LX014klVj2qKTCbj8bMTcS3N+XmyKQ+MGfApWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZXOkCRA9TVsSAnZWagAAJ4sP/0fEqiO7It69/f0ysQBi\nPaVGaEFiX/wItIFX1HjfdsQpDPk8c/Owam6l+/I3O1uvqQheSo1NX+qpu2dG\n2/NYTkcMYmIcde7phHuWuXElMG3ITWbSowQEP6Z6vltPnoI15ADHvHAfh7BR\ne2iGYzdc2ipbQfaeJe3pC5V+CGj5of5uPLtbOxWe5E6w8Y2/cYcZsQsXsDxP\nwOSBLLXSSHAkvnEs1mDaVl2dp9idoBy6AcDWkz9R1GNgXUVyiWzLaTjpoMwT\n88IjPuxQmPZdW8Z3OSvbSgw/q6Xctq+F+zeyoPakrVrwIlkigWhx0YJb/zW+\nO+Zg1JFAFNy5DaCJRNmAs4pmjNxIDATodxGaADI0X+VwoWWQPLQb53ooULNf\nuPAC2oJMmocqD8W1Rw7CqrrAdcK89kEQX5Se2y0amraKqahKtSAr9viCR6Ax\nuHrWB5pYp/N7pYVzf09FVHc7/kfuKnF2TV9hAthbi+JisxsPSF0Lv38sbGqf\nZfry/nNK1i3GreDhK0EdgxK4EdinT4aowBmGmUqWzskDBeGgpr6qy9q6/KxQ\nxZiHsM3Iq/O+Hdsa9fpvImVWbYRRhk8Ph7484/OQhbrxc3MXGVSL9eNYqDfc\n8qazbDzrXQLvpnggyCfclowE7YXlKMfsJfTaq6ICSgmprUl7zNDReQA0we+h\niOyJ\r\n=Sy+i\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.13.0-dev.20210401.8dc6ffe.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-dev.20210401.8dc6ffe/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                  If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help                   qnamaker:translate help\r\n  -i, --in=in                  Source .qna file(s) or QnA maker application JSON model\r\n  -o, --out=out                Output folder name. If not specified stdout will be used as output\r\n  -r, --recurse                Indicates if sub-folders need to be considered to find .qna file(s)\r\n  --srclang=srclang            Source lang code. Auto detect if missing.\r\n  --tgtlang=tgtlang            (required) Comma separated list of target languages.\r\n  --translate_comments         When set, machine translate comments found in .qna file\r\n  --translate_link_text        When set, machine translate link description in .qna file\r\n  --translatekey=translatekey  (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-dev.20210401.8dc6ffe","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-dev.20210401.8dc6ffe"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-dev.20210401.8dc6ffe_1617261476118_0.6164364076831044","host":"s3://npm-registry-packages"}},"4.13.0-rc0":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-rc0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-rc0","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"3220cd97bda80c334b547a3e16672489eb8b148b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-rc0.tgz","fileCount":142,"integrity":"sha512-4c0ubizWEtmhImUtSNKGqR115tDEm0DjCvpw1uNOddEeycVVg/ANDmPfele9XEkmqurUs3JEv1JBIxHxXCa6zw==","signatures":[{"sig":"MEUCIQD/dqunRAxlr9vmi815VxiEOW8d4hAXF+JO3XWQqCArqgIgCw+jbe0wK3s8B7RciWj8Qfb3d6po+RuFABFJyb35YTo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZmpzCRA9TVsSAnZWagAAOmIP/0G8A8sdJ9UPqCbuAuRh\nh/7khVIN3aHM9pIixnPuJb1oSPuePE+Qny407ZOuUuxAwVNGJCTUcWRLpa/4\ndSZUSvZVL3+EGdGuCYyvPywu0udhWHmVFW67ZJz0eKJ4jUwUaM8YzjN6VQiK\n3wgd4pBXm6kOqAodSVzS+Ciwri8LhzB8K2jZ5af1cty3fu2/z3rX6ld57oDG\nrwMckkIvil0yh8v4VCsddHaA5dZHZ2DLmkvBrseXRsVA+zqf0VOUGJOLm6tF\npJrkOzvnwc6vU5sLg93ZqkmXpBXDaO0Fe/MTkVd2WEbsK/oSf8jWSDIgaVih\nDM0GI15JseBi0bjFdYNZVVi1FGvcD/6OCThxw/YMwgYsXsQ+Ohj3EHaiNr6B\nhzKov2OHK7vKHUnpjFCU67JDCQeHUfzh4ThPC52+yZBuW7MfGj6NgR74w839\nNhuhzW/GP45UlpU1anxmKT1jk0nrEOEpEbxED+YC2c4RRZpCpvRkyr60nRps\nQaGdhTYprQkimpH05nANTmO5udljNcW9MqsC1454goCaEGGsrbhNYQP4W//A\nfjP409BEYWIIY0dBxWZzoPqV+tlsciOn6uFFaBgxucJ6BlM4mAaKBaudpmVe\nOlGMUfvfEPj3yxW/PF5DtZ6uVYF5uI+83vuiKGn1XK30rQa5p8xix6jOx369\nK0Wz\r\n=CDB7\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.0-rc0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-rc0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-rc0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-rc0_1617324658894_0.6831526201796649","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210402.7e5fa93":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210402.7e5fa93","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210402.7e5fa93","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e4dea6dfc2103f6609b82a4e703005c6f241587f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210402.7e5fa93.tgz","fileCount":142,"integrity":"sha512-cwKoOidL719OOyAMogz88cDuzgNna7CppzBt6TlzBGrC8tSIr1mLfQrjetZ5aaPJGg5Zrs6rotq/RHxPXT22tA==","signatures":[{"sig":"MEYCIQCJEDPCkX1LNLehjNJSiRHOXsh/lHVN6ueOugrdp2U9BQIhAJ6ySw+g1c3yhNKk2S5dS+GuZ4zse/1OyC7MTmLkDGM4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZsYRCRA9TVsSAnZWagAAidQP/3YP+qQKVIRKEPYsGoVV\nrXsxqDQJ5BxEReamh1NHSK8s8aLSrcF6sDS91eYnJEpbRyW/Vc5E/ChhCU4w\n9AN/Pe7JDj+xuyZBF27crtEV6IIlS9x3XwH3wAdcXdm1PsCzi/0L8pWX+fqg\noCO4VENPnZCmypdARMAzE1N93hEr87WI9q7WWe4Vn3v+VDDycgtFyZx0xaWw\nPLptvx2ju+koInzd8kJOZ4DcBLXRForc7ptyqLcMLd1PWfNp86Wx5X+58RMk\naG1DdT3pQLBPF0cKgMeVEFxXZm5qjD9Fjn1T1th/kZGaQdW1FRym3yRh547n\ndD1K1cGubZehB4pGaG0Ima76eCQ9pHKirOjJ6ywC7dOts8JfmpL61yelJM4Q\np7n+5Yo43wVJji9gDQWsYHgJHP9fb68XunLQJHrCQ0VZowSfW3zDx9U8X4hC\ngBvntM1ji5K9QL/TFcl/+CKW0C5eAwB1nnHG+o2hQUY1UXKq+4zh/Eai8IeC\n+hxB51b+uRJ4wr9zQshPh4h36wu/Q8GOESpDpJg+fnzdZv5reGBdIvMWebv9\n2AaEX5Fp0JCtwigVydh1dhpDja/jhnSbtYqCW5DH+S/v1H74U0X+tJ4DQwab\n8+3hTkv1kgIUbNKO0cqrT3BeNqfxlr3Yj0AiOl4kgtzblL80EmNUYKBpXc7V\nBKrM\r\n=L8r2\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210402.7e5fa93.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210402.7e5fa93/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210402.7e5fa93","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210402.7e5fa93"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210402.7e5fa93_1617348113437_0.7455276311221473","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210406.74baacc":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210406.74baacc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210406.74baacc","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"11299e5602ce5403fdda6b0ffe9a646907a22e74","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210406.74baacc.tgz","fileCount":142,"integrity":"sha512-49Dbb3YUcmRzHHHH8F2SEHcBS4c6G+o3PRVtbQAXR0w2xXr0BScEqHj943Yw9CelGOW7Kk4XAT4+E/aGZQnWkw==","signatures":[{"sig":"MEYCIQD48QIle8Bm7WxCnfWu1vtjpP1mXOFc7ISq6cNHV2mU6wIhAMYLf93GwrJYQKYB5E1XMxcIuDV3DX0/HyqiVAXxwaaV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbAu6CRA9TVsSAnZWagAAZEoP/3bz9v6o0eD0SjHcH9zI\nNG35l2dlN+4fs2S7pOnlEdn3yeexrs41A034PbnleOAwlNJ8kdMzyiPVaafo\nUbPBmfUwDbGhYe4aNIifYtTjXO+81AkW1y84NAHuUS1Mj/+asPJc/Lbg0OOw\nF2dRv1mLp4IFS+IcPXOplgS30d/ySFC2KRpsVAPouss0zHSI5sRQPz7SFW5L\nmmZtK0PhkjQnx0xLbZxVqP7rbwXJIeMCQYNUMen1V3pYQRWsN/nI0TBS07Pw\nN54hq7AWQAMUFUsCBPDcyCZ+bt6Ifkv45im2FsTW4vUTCxUyysFG+tq/F4e2\nem5bQuwLh7N1agqqGLEnFfVy4sW+rHtMTV4kntt6+u8elaFudCRvjuEIcrcv\nqRV50DXxnd9/biq8XezkFu8JZ0UqIv6hHjcVkphBXPv8+UFbJZn51tWeyznP\njcUL7y1nL4udr1XNIOyMF4r+yG7hf2joJ8tUBMwj9ASKqgtMtfNYi2dl602k\nIZFLt3hsyISo9ZmktVwa2OU7FYjk9tM2cA23PCvTsgwKvoJIT7tOrZ+BVgWV\nnsMHJCFBtY3VSqKW3c8XnfA+0tar+TSYyOJ0xgEi0ty5bkQtRGed+z5FNGRB\nytvcLAzOpgxmXZmx1+k9x3IPORTnDvC5A4NPqG7V+B+suilmHvOAGZc5RhsV\nBQ92\r\n=nO0+\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210406.74baacc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210406.74baacc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210406.74baacc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210406.74baacc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210406.74baacc_1617693626376_0.40583778726200603","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210407.6745788":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210407.6745788","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210407.6745788","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"08832d01a822416d290b498858fc9ac77ffab057","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210407.6745788.tgz","fileCount":142,"integrity":"sha512-KJCnsZdnIRNSOZl1eUOdueSySuFsvJNU5cJ2Lzy0UKnCNjfGXvcuA9pgAui4A8AzAH61ZabBmGAvJcYyGXI/xw==","signatures":[{"sig":"MEUCIQCFADKXENZ8GswfYeXNa50icq/HWoEhIVS3BTa/GXDvdgIgamKef0Pht1qSJy6DPKgxqZA4wLZkX3LNU8UlyC7Y/QE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbkSWCRA9TVsSAnZWagAA1B4P/RCB+/KaOLvzuLrQvVmJ\nZsTJRtrhFSEqugjCSkjFkmhaFBylrwkmL31ZmR/AfiMgBV0eEQjiiYAzWsBL\nPZgofmz/rb/eLG7l8vDPewU4IXRI0Z2zqY9ZDLm8+Ls+73hxHufL4894yn2k\nkQiINDYKLrFG6DDAmMnsNqgHw8jGXvUUFXjUK9IrIxVQ2J1t6d8VAtGhencb\nOvm78ZETdVbLqIqmM8I4Fbb+vccCwA/4ArSq/ys9RIYls9xRVT20g4LwGdlP\nwD8GqJOCjPeZFk1aEyZqVndW2BMmkwdEg8VUDuNPYU/Gb1heIVkoYEAAMe1O\nTXduwp4BPY8lxP56o1GZucRjsZpbGScZcnqAB9J7IKViPZC7JfNr+4c4T9ho\n8KhtQ30iiLxkrFYW8cmw5dw1Fp94oI2QqkG7/azE1h0N3rqIz/EFCUpr7fBw\nLTMOrIoGnZzjlXvG2yUfOqTRhicQPumTuWSMiGOGT5GgmjdK5+FQeLMaTZbj\npBXFsi0j1VY1C537x8aelSaJzUOGqkirMqowQYJDLLQMDh2oTexy7xBudvpl\nDp/SyDDX5CnpW/8+yslz78C8YKmCSts6Gt8/a2kcoY7FKj9fHNMm+XU8e8l8\nm578pgIAXo1THp67PbPQw+Ge7r77TfCe+hykz+BFel4KNme1shdUYs7SFRpq\nnSj/\r\n=LDsi\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210407.6745788.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210407.6745788/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210407.6745788","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210407.6745788"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210407.6745788_1617839253715_0.32461348868825035","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210408.393d33d":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210408.393d33d","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210408.393d33d","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"4f85758f0a7e98cbee38887d5898d598d91f90e3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210408.393d33d.tgz","fileCount":142,"integrity":"sha512-veiODB+DbxyeKkqfki96Po4X6YCacfE0H4IhUvz4MoieG0il0zjCZXuBRiOZGMFQUYl6dp0lH7VW/YrvhnqbfA==","signatures":[{"sig":"MEUCIDwMErJooi+yOApcoFGZEFA71qVtZGlvp61R1co5C0LuAiEAwGYDcXSODBIVPpBuSFsexqwqaCRA1Hr5TLZlhy6hiro=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbq6/CRA9TVsSAnZWagAAl9UQAKRgRD5GkPlij4aKV5ks\nGyofUkUVbKYWXkrY/EBSRbrl83PnlZAeeLOI9BVa6ImB6gCIS0meVvHpi+f8\nw77giblmaweyCCe+EXhDcHzVfmBZf00NWsfmjrFYt4KcXfsxU7WoegXCKK5Z\nYFT+eSXfhpsIVhAm4jZbW+cQc8Vb1k/JFpvh4+BB/h4dh60KQspl4c2VQ94V\nOOUJuEeWWx/BuhXplblTq2bQs6Y4YiBzByzB2Nr0CCykcLXaR6jm8FgPFN/w\ngOddaJNRvtWox+oLCUjj0+dMagQtmtpx0Th5KbkDDRzUSc2mFMbb+RD7QVvT\n3h+NT3G3gmlny5DnC9tLoJ0l2lwOK7e4q/vBKNxWys5aVDX8/dR/aT1lPTgf\nHM2gpfqwSrAD8AZR/lUjlN/UGTlCEc7RSMvOg+aIxHxdZOPNb3CImMFSypem\nJp2fZBF9eOzOqa7JBPayzw3mz43hZQEpO+56cs65mZ4Rg+xWW+LQUmRKCXCh\nY6hSKoyZBmZOdTFbsc+XCjxh2CSd6St6aY5v2jSu+nyCG3XqxMQOqKC8n40V\ntYGGOy1pMpgf7lgaGE8A/PvcoVDphol+7m82fbXibriECZzelb90/BExd9wZ\n/cruoX+2W7wiGlNpgLc7utiR0Iijk3OrUekGVjQRCokk+6qTbcyB5kEv6MYN\nLsJf\r\n=X10K\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210408.393d33d.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.393d33d/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210408.393d33d","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210408.393d33d"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210408.393d33d_1617866431059_0.7684229616793816","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210408.1a5070e":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210408.1a5070e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210408.1a5070e","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"df1d130ee4b955116c4ae4056f3134069864c3fd","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210408.1a5070e.tgz","fileCount":142,"integrity":"sha512-XzaZPNxFywansBnV681J7xRXuqof/Ry/nfXJCuM8gjEqvjIsd2V2ByHPTink/PkeGJFxxtRX/I8vAzsA0T6ipg==","signatures":[{"sig":"MEUCIGHjxRMMcbXpbgyuhgAsQHYC/GP6ggcuPWskTOUTVI9LAiEAtFJUhn0iNlvLZMvok/iUZ5lksTkIK1MAgWEOHNzHxU4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbzbbCRA9TVsSAnZWagAA6rYP/2qz2VX+hFu+F/pSH4+x\nxftkyh0ZYp97L7u9hof4cN6iC5AXfpEi0L3WjQLU7jK9tDlv+1wojh5Ud4k5\nIYnrmUWPHt1AwsXVFUFFQgqD5TKaR7CZX7qRMG19pfhgKfILH6KGbsSQtYEP\n2Uwvf6L0KVhmdC6p6O7A9LXDq1VL4PfFS8+LXDHCppcsWcOqSlRkNm3qqLoF\nJ7L7tfJwOwOHr1hD1uHcmcHre/qrnNwt8RCPLS5xkvJQ0++AnIlffGublMAJ\nCYX5cMUGEncSUs+wyWLqsIY4D0ElB7OJB7Qv39KgJ1sCA7u+CrKFoln1OqjK\njPEDKeABipiZSzFHohwm7PUgflsxkRSU+h/okz/DvCkOnh0DBnYcXq0YkvR3\n+G0ND8SQiMr6T0mr/ATQ8gMV1+Ec1KAaZ4iWh17FZ7OObckHsuzGXzb2tPMz\nbFyF/3fVV22uwwwSEcSmjuBdeKTpxIAmxOQvpSj/I2kAg9l85fl5cXbKvhLe\nKn4rw1xjdqppOudNblzb3Z7qXBJAqV3W7OVDyCy3OKKlKrOV/v/e2Hu7iu4a\n96tXwNyf/d0GRHmsRmaVke72hsNYYqZDQLPsNwX39VItlZOdogZzglZP8O2q\nzQG9q1QNUM9E2ccal4voVCcNtSF52S66YqFHCig5WRCcT7kcxr4YDOoXWPSQ\n/yTE\r\n=XSAh\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210408.1a5070e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210408.1a5070e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210408.1a5070e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210408.1a5070e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210408.1a5070e_1617901274863_0.0083065867177059","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210409.1a5070e":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210409.1a5070e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210409.1a5070e","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"53ea6e81d2a9d833828b4388edce753a5eb0721d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210409.1a5070e.tgz","fileCount":142,"integrity":"sha512-le1ieSEPylQzs1O0XHnTHZiqErfMluhvNGJyM7hVjMcNf+zJuOHj3vHgAihp8QvxlUNDjDjFX54rhUtNzwVyBg==","signatures":[{"sig":"MEYCIQCtLyz8UGI4V41HSLSa147fqPtH8li23v0tXXuiOrDSnAIhAPZzuTVFKXDgx3HfJwr2GWaKb4UQLaKW+/vQ/G2lamfh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcABaCRA9TVsSAnZWagAACGsP/13HN8KLes0OglYlfU1Z\ncuHlbFicLmduj1p6N1DtqEabDCEoW64WIluxX0tmOGpfpUanu7DKeiPyWp1r\n3dgvOKM73BgyrwXaO8qXAW2I6N4lggf+PP4KtL4Vqb06neIgKeMjwLqL7pKe\nudvRJdxBXxQVguilbfdrPmIhCQFNkLzrlsIoKhjCO8MW0mz+bifEwwqTQs1y\nVMhk1uab9GqSMfxInAADitS6/MkC8n4UD8ik2mZxQrbxhVf3wiOx6NhnLTXa\nKfbPQh0xpBl8kBU/crF+Kddq15gg8hJi+N6KelCwehfQ+IbSTmvrc9QUHQwN\nef7AGwqApN+zy3etd/C5/Dm2WoK9XLkncLB/wkqVBczHyrDi8mqnQnkNUP6D\nlaep8ACV97QYxnqk7kQL+qis+RAotvAb6CFfp0a8kQSSWdVyQPBH2kvGz1vK\nei+M4yS/mRPExSsyB4OvIek4m4w1M6RYsz1OT7i+7WbyvBBj17bNG620lhPp\nNT1ci2Iz+nhPcI+VfnN4cNy5L/y8PwsMhVlQzhDfI74rFTL9jB0h57t/M4/O\nNvVv7zvs9MeHjwC5jc1qY7H/VeYmdHitqRmrYJOwfZ9gk535c8ZViopuXil4\ndQYcklKxlRfpMpAfvKhbI0XoKJmViRkR+nzZL2Hyg95VWa+FADaUtRRpShaZ\ny3Ir\r\n=Zk5e\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210409.1a5070e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210409.1a5070e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210409.1a5070e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210409.1a5070e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210409.1a5070e_1617952858517_0.6574261573732414","host":"s3://npm-registry-packages"}},"4.13.0-rc1":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-rc1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-rc1","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"bdf89824b3ae32ccb74492f7c1850fdc9ca57d18","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-rc1.tgz","fileCount":142,"integrity":"sha512-/JSpBY18EWBqWtG17wlsmJWnirA35m3u6uI6PW3fL2v8S9ZSnu39xbuGK8j2XlxIML6FEv1p9cVErTZiUgRRIQ==","signatures":[{"sig":"MEUCICI/olOnVv1l6jXZUHp6qKnX9lT7i+A9R3d67fJmfXhZAiEA+biUa3DOYtQhFZNtmAld+c2e7N4c41Rlit3Usa++wGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcI9QCRA9TVsSAnZWagAAqLMP/03rm815eegqY57uF2iU\n9nAMe7KBtVJ4WiCmjwMTqNGpEwmovfHXcJmIAoObVgnCqPRvRsAJ2PP7KoiL\nWxl4edTiCNSces1tz7pgVG9AXMlvPsN3MeVSEZLn00i1Jml7Y3x+ROLX63tO\ndmddXM1/NlnBFtOwTCwuLBvDceSOT9URitTNBavch8R4SsKmd6pEZKYks0G2\nVfmfbyvL5VNa3xFZ93F1OKAD7cR1aznbKEh3WfnzicWRUaxWa4x+6JpL0rBE\nQvuWMGKcVZyb8d3eUUk5DwbrgC+fxuE/xysyVgIieiud78gUWI/OM4qeawAq\nYkViSKOQiZAEaWUsQlC8TcZ/CDasE/JEkisk6iRU+m8deVF+fGZFPXIpL4bT\nxJ+aF/Qg49FyDLLiqM2WyIV2aIfhwjrsXwCf9YdmHqHT23pBkoMeJXLWaaAe\nLSLhGSs3MbcFIAaWh11dk7GlbfvvrdNOI9rDA+iMPwdsHEOPguOeKuSvs2su\n212CeR4QpwzOk+Q/cxHEhwUmGnLpOf2eBiSEBoWtZDG09kl1lm4aJOCf9fVs\nfD1FAO0NRDJsMoCXlyzslbfwCHrYJvDQq82zFS7RW5sTsQuFmIO1QMakL7Br\n+woYZHxbW+hwxUmUJQ3hHGn+xWKJq2D78R3UsfjFk4x8Jx4aecpArOoGRZN3\nqJLu\r\n=DQZe\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.0-rc1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc1/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.11","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-rc1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-rc1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-rc1_1617989455735_0.11696144777480266","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210415.161c029":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210415.161c029","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210415.161c029","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"98eb2effd7693ec2036597a91ee8f004244abbb1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210415.161c029.tgz","fileCount":142,"integrity":"sha512-0a8DhZ8ZX/SE1ceG2/7Q7InUq8fdZOI5QzpHuL+p+kKAl129+0AFOx3zMrgt1YjlKA53iM6Q10FZ6+GEHBiCHA==","signatures":[{"sig":"MEUCIEGcjx54YgNuPiNkbVF+fY48vg4cBMff9lFiMR5t2nnJAiEAsxFkDo7EyY0d4KkFT6PJYVyjGS34Nfgpp4c2y+q9uPU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd+lLCRA9TVsSAnZWagAALt0P/i0pwHBYhrMe0Uh20cmQ\nWnu7jjNyWgkMDMGtqRSdYe/ioqs4F0znYo8ELar3M19nl63uDnXNxw1U1UIY\n6jZlWlN22VPOcnrroS+oiJpQIwGgL+d+BF2jC6vaEv5a4lw8Uk+ana8VV026\nYvJGnOucUMxjHatORXR7KcPqpoLa+zhwifIQ9fL1nUppvlz03J9C8mjnNe7S\nBTOgrU41BSxwx0DgDbjW93HhC5Z2bQ885UfBmqmHmYJHKCpsLAgpXoJxn0gd\nxQyTzEIPUONuI4PUWYT141tWeSYjuwNr16Oa2Ds9lBE59gqM4A9En2nyXjzt\nhwDGs/qV+kVdBjZKueJnU6JzUFNNaxH8n3U6YSKRO2iVf0wgb3hSnGA3x+DN\nSN+fQv0jq5XVJveO4K2Q/v7+sdXgSE4PPpyueVgQubM9ikttgug1QmuBbpNq\nqKW/k1ASQf6JRxx94Z/RXhiBh2vAPiXiy7B70tvXQg5foKyPzl20BRpaVy6F\ntmUTnkU7mhXm61A1+frAvRWy+gf5pRYL5r9pP7o93x5yNooszvMhwf0pqrAa\nk0t1Id8DYIrWQa7+5em3n3uv0E08XsLTO7EEmR4jHA+RqhYk5TjAw0QQFQmJ\nOA0/qYxZAELrRTaFoJew9kGc/JiP9x0QzOpsX9c7aorsPUoiEWgClk369UnU\nyOiI\r\n=3v1/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210415.161c029.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.161c029/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210415.161c029","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210415.161c029"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210415.161c029_1618471242745_0.9282084948068945","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210415.7e35288":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210415.7e35288","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210415.7e35288","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"feb743bbeb821d25ae32001bdd2a601a1ded91d3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210415.7e35288.tgz","fileCount":142,"integrity":"sha512-nNrGmffYQTi4CJW3KoXadg0oKq9XaNFcoF0JTbSqGZtrMlI7O0ZJmV0/r08p6mgRAH52IyA22k54PQfgTC5mDA==","signatures":[{"sig":"MEUCIQC7FxRa1QpqV1SyPkB3LxvOW98678olvkAstYu35jH+RgIgTLpHk1598bYmBsMRkScs13eOYeJY53kyyPgPI0ATD2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeJDMCRA9TVsSAnZWagAAzP0P/jbpB4D0Exav0p8w8W9p\nVGbO9s3qCYjjgdAqmM6E3RlH0Iv8j9bXlAfJEGZl+QgTEwa0NCDvuCk4Qu/H\nXV9IFOlM5E6+KUK6oBHHL0hC1S6ZGlQCUYqZG9BNEgAHUbb4e3I+E9lPmwf1\nmhRZ/F3o9l21JZIpPowXzjO90nD+NcBJzf1MU27yTShmmLRyFGeMXUCRtG8B\nrQqSZAaPzysq4hQs7fVSYmr1dlmim6OapsFJ/gNPrYkm6T1xGSkWQZ0uegv/\nQHsdVBYJS0Ha6VKle3Ivu18cc0nXmZyzWhG+v2FkSMsE3F6u8UtdYaffs1hX\nlAKrfoWvRoYTUH+rXZHL8eb1q3HnuXspJK1R4PEUPo0lLg/vMTxx8Elh3noA\nOOgS42d8HQ4MWTpRLxSGky19rwXgowoD8OjLmZSyFsc0N1p2VE6F0sLzSmTA\nzs9zXkRA2S7jBYUJOCA0WX3fXy6L7A+k30H1Ah0NAvSMdMtU9rXSqf1aeknu\nM9RcZXGWHpxCEXmlmR/yqVn64K3azl95e/HXbu2ynuYba8OzKAIHVr7BQAoZ\ngy452vZsR4DV58+JLs4kgLpwKsU9e50qkTpATfyo5Eneq9izLYv2f5JIKCYz\nerPppfv/NwxsZlOA4L5LYyOoPnlwgjznJTcbaYo6ynYET6Igp5f3agN9baLp\n0ZZI\r\n=VF+5\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210415.7e35288.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.7e35288/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210415.7e35288","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210415.7e35288"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210415.7e35288_1618514124532_0.8098643266464496","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210415.ab0fc09":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210415.ab0fc09","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210415.ab0fc09","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft-graph-toolkit","email":"mgt-npm@microsoft.com"},{"name":"darinious","email":"dahoove@microsoft.com"},{"name":"benkenawell-ms","email":"bekenawe@microsoft.com"},{"name":"abrilgonzalez","email":"abgonz@microsoft.com"},{"name":"awentzel","email":"awentzel@microsoft.com"},{"name":"eisenbergeffect","email":"rob@bluespire.com"},{"name":"janechu","email":"jachu@microsoft.com"},{"name":"nirice","email":"nirice@microsoft.com"},{"name":"ccf-bot","email":"CCF-Sec@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d2503fd21b1b6901404bcca2a4228206c93c8a90","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210415.ab0fc09.tgz","fileCount":142,"integrity":"sha512-8IM40iMeyqbSmnoMaC/qzs0lK0wXei7oztHDwFJ9uCeWDPHcmHWuxGKif9nlZ+smfW06iHeATgTqN+I0SZU0Rg==","signatures":[{"sig":"MEYCIQDMqaXVC1Kap3nFfRMg1UW83YWgHNIB0OpgwBxZ4MJ8egIhAOs6XWT/9Q3h0cDAzaERV/XTmzCIPajizh1wT2b9Rxx7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeKDRCRA9TVsSAnZWagAAHt4QAJblncVl8ltkvybAiPMo\nsyUWLYpZXhw55WBZ01p1He25yvF8IJPj7sXkuuDXAQi3Ax/TenBT+/FX8wIF\nMNgo7Kdj2mMJe1ThRI7/FiEZRdVtVcjIg1AfRHxH+ulgNU8IC695xAS5na1m\nuPZkV+ommCIRCPs3DnJ/tyI9ikLV6h6v166Cw3SN3Qrs6VxziTfPvQ6+CA7+\nrgKCny5xWxAjRTm2iDvhyFEHzKmWU7bwvAhHPvCGXvaz2AIG677Od2LbdZY1\nfavmXYbG03WJexvHV6Tsv6CBYSELwbZFBIazxboscGtyITjULXXb7Et15vfP\n+CcAoVOZ304eEtvn+42f54+7AL/jIXaxeHh5TNfMYkFAt58WNa0XL3aaKWnr\nvlAsrp+tXE/EmE8A+B69FyJxbcFaAJ+7xcOVHPZvFLUSctJE5y+G8qnUt/03\nSRgJN3YNvvt19ZoKA9M88DmHRzm//LxBMJwo2C1Aw431EDnUjZcvKrwt5OO3\na55tI7yJwrUC97GkpQMoeCBZc8UyFDU3gBz2bdIMSz2nxPoZxN7YdLX4TTE1\nk44lnuAd1Hm3HFUU9/63wT9R8Wm1aafmrBcn3SGvxyY/ZgdyXH3zDErmR6WT\nHjQFljuw1bc8qiXXvxkalClMmfUMXhJ3SHTxPrDRZIgjrTQiYOfgJ9eGXsP/\nZc4X\r\n=FruG\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210415.ab0fc09.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210415.ab0fc09/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210415.ab0fc09","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210415.ab0fc09"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210415.ab0fc09_1618518225284_0.3599496964845077","host":"s3://npm-registry-packages"}},"4.13.0-rc2":{"name":"@microsoft/bf-qnamaker","version":"4.13.0-rc2","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0-rc2","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e00dbebac2e9f1733a6e4f82b2e1b365f6d6a604","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0-rc2.tgz","fileCount":142,"integrity":"sha512-e7hw/GSRNGTKsHPI3S+ti23DqHPOMXqo4Wr70Kegk4V1VLbQYZpZ4ELQD5M+SI3ia1yYUDpvsOQiJqhRNLyceA==","signatures":[{"sig":"MEUCIQCTt1BiwHL/E5H9dvYYFVfGgg+eeLiugJLRkUcaX2SUHgIgWMx9udUGcb8kH4OzFpNMDbVNUrkYazfCfsZlactC1MI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeMNMCRA9TVsSAnZWagAAfJEP/3CYn8m0RIQIVjAl4P+w\n3N6wePgELficyhXAs90j912viImKptuLcx+hAB4TSiJ5mv/5WajMalO5oBah\ncJCoLr3ngyZf5pKCqdNzxTi3scmxawhblOWEtNDCPiUEVXLyjJnWn7iutgxv\nkvpz3urmvj7T75aJsKsKkjW9yT+3nmMwMZj9dc+AYCjRmAUZrZzmDoHYmj8B\nDK3NCQNeGI/6RUXy8c4XCvw8myco6D3qhSQ11bwMltrn/+ra+PMV2j8N4+jI\n/AHVJzCFW7rAWicHHeWiAXXT5821Wl0C4lwZ5sDkUdCpOEa2fcbzYzVxvbgG\nTqUHZ0maRs9FGdJvZf2xOfHETrUc3oQaha28ED0tiUfovNRbGRY2/vOAU5Xz\nrBw2mF1bBPbd7n+tiQyB6dtPChxXFVFC4c58Stqq1++MZ0LlC4KoBJ4qgIgo\nnDJzTaIci8TeEGrQOswXjkeaJkKr8j7xV5lvuh1+rjD7rkKAvSoK6P63QKZ8\naYo5IREIC3tqMLNInkpqxsSFvkef7LqpaRfojv9PE8kpmW/A5zHofOxOjoMR\nF+TuUqxY9BXuaO1LUzABLu72IpV8/JUTOFHFFuIl3eVTguy0jdgfPCkaLQPn\nYlqPAokFL4cGqKFtn/pyEr0EcaAgptFEGBqW3oCfWJ+USLIGIWVCtL3iYCMm\nBzF7\r\n=N8Nj\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.0-rc2.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.0-rc2/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0-rc2","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0-rc2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0-rc2_1618527051467_0.30490347655786443","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210416.ab0fc09":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210416.ab0fc09","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210416.ab0fc09","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"18be122f74647e355beb04df60413a7fed11ecab","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210416.ab0fc09.tgz","fileCount":142,"integrity":"sha512-lKbRzEw9qonIMK81MwYRen6fFnsm8ATO9vce0RqOFgBb0RIIVNZt0oYH5ltAW9RBgB0AivojmWSQ0mwekEvBfA==","signatures":[{"sig":"MEUCIQC8OMbHiTy75m1pATaJOCot2AEBG/clZWiGUuLenKna/QIgAghAJt1O/hHIpAzz/+t3f0fpJnuljS7ykbmI/is3CdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeTrKCRA9TVsSAnZWagAA0WYP/j9iKCk17P6QhboruwH0\nCMn4F6GvSwaSP5HUnxwtf1OLbqDKCnHpXxHUyyJeFAGYw/6nyQJ8A3EP+WeO\nE7JHspPSsN7d5QAHZFmc4ayIcYntwxthMHn3g15cKD1yQceT9h1O71XYZXC1\nuTJJpSU8UnbH+im8vwELs7KTiZezuQSmbGh8g4alh8glPSYmR7oE+sk/tvl1\nOhfBMbfWDLaq3YiFmPdxaW/4MA0JTDI0//ZGXOLOJJUNais1BYwXXtNSx2Y0\n10u9H0suEy2/fuZah7jmLZCIQyTJD74IozlxYiNv9sg/yJBdpeiPWzSSSs9H\nOpRMGT1MhlhoiD8qp7fiBSCgwZdaFpmtCFCEltlaJIz3gx5WhibXCKC2Upg7\njNCWJHQAhl92BLeHmGSQ48PPmrPkU1cXGefL5cPuHJ3mLC6/uWqulbnftrRf\nUKPZip+2AmnyV8iojSu4ddxTVmDO9r+k0tL2ZeFkhBvUBkTG8R5eEkORd4wh\nzSUM4N6LuPalRTbSgPATGBmvGHBPE4KhDFAZsDFVeytc0048I6lnJYGTmE9P\naBKd8CVPNPNisccCBUpYjbUCj61xOrVOPk2JMkq/IRUoP8Qb/Jp13rrIZZsR\nQArLYGWXc68Pq5QgU0xoni6jwQJUSJ4IymFC+a0rtuNeV4bEEJJeTJalQM/H\nMe6O\r\n=UJ0j\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210416.ab0fc09.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210416.ab0fc09/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210416.ab0fc09","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210416.ab0fc09"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210416.ab0fc09_1618557641933_0.09089481187621051","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210419.7257bc2":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210419.7257bc2","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210419.7257bc2","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"5e260d2789191ccd232814db8f8fb61bd5ecc598","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210419.7257bc2.tgz","fileCount":142,"integrity":"sha512-cGiyWqMEY5L0SnX2DTDVt7wgILNCmVeg79146M/UARv+ZO5Mbnxn8mU2/w7ZMSWrS0zf+gRNI3dqNDumpqau+w==","signatures":[{"sig":"MEYCIQDcwpwPGr2/TusbdWl23AzSijSET8ssbUtqtZaGFpomXgIhAJE8TMxf+EhWONv8AqjEJE0i3v4JIgbKGXNCbWX3365n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfc1XCRA9TVsSAnZWagAAE3AP/0dc2zHBaz9phEeWr94B\nKvyT+zqARFjGqVw5C1eDTJqBJ1LqMwQs+9+8lY+MSTtX943XFYhZCBC8HHJZ\n0r3qfrkWMH7MtEENO9quR+kIE2i2wXvMeuwvcn0+tDXVukejPokJuzWCO3TI\nrQv1jF+BRHDa1eB1dOty6EcaD57Q9dehd6onbQJI/YHhs3MO7YEoTTLYwg3m\nhwKTYoqbXcQh3PcsUePYYP0wocMWlCBE5sOq+ykf/lGZ8DGTARQzg2QXKpAR\nuA9fQ/ytswP4tSkORssAjLpz8XAmTaqp1kh3ficnt7MiViIQ8SrwfHkx8il1\nR1LK+YYKU6MW8Eu+RELhH6e1kmhDimhpqznGT9y+OWZ6eYAKAV0kQLJ39Ak+\nH7t4ukC/EV8nctPtn3b9+bD8plnFTk7E8lwtHPxjdifCvoYhoSHXnvMjsTDn\n3kpfWIC0rOHcS0sAJgRv9yYTlDMGIXe9in4+PTwEBPhSVF5H+rVVmAaqg5lC\ngKRsRt3U3YbsdTgCtDHplFGb24SVqpYXUH8n4OHVNJWZjCrA9d2DqokLzdvH\nGXxyAh1d5nco/jhuY3dQCRiQc1afjcK7JeLuZdBZqDvlgImpK4IpDZtSsy8E\ntADYbyeOVQcOOTEDAWehKpa+iZ9rYzyRJa5XwC4V2uhemMpRJnqKoRC59RaB\nHUo7\r\n=qbWQ\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210419.7257bc2.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210419.7257bc2/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210419.7257bc2","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210419.7257bc2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210419.7257bc2_1618857302770_0.2947381557986015","host":"s3://npm-registry-packages"}},"4.13.0":{"name":"@microsoft/bf-qnamaker","version":"4.13.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.0","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"25711f75fe206822c900bfe2d1d32b73b37a8480","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.0.tgz","fileCount":142,"integrity":"sha512-6oWxhGPT7HYKg9xL5872RKCxqOXLNqVNckn34I6gnUzJn/ybaCXTQKfATeotnO22tsbmBgS1FniTsHv2d0/HOw==","signatures":[{"sig":"MEYCIQCcLaUQ8+CNkWWHTfoTlAT2lMF2lYp/Xh0XJC1B7csP6wIhAIBSXUL9pFmmg6Rw2iDRLI1AZ959FnRu+XDHi9WMosXW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfgHqCRA9TVsSAnZWagAAIUoP/RYHwcSW+t8ODprTo91t\n/rOsyEQ92eEuChU3P7p8piW1uKuhadVmoHIf/j3FU+eSuVo7qcjpH30c/ybz\n2SZbP4TOHwOq83Fqw+O8tV1u5APaqBZt2icmIY+RqKVfjGL3TId5MC3vTpDE\nBgiEg6NOX3ZctCNez+KNNWf2v2515mDtFaqWfqm3HBDJt1KXhNdW7dqsHzfL\neOQA9U6i91hRGqpQ/UOctr8Zfw2Y/CYYXDDFzsd6TAd6svy4pLfXGk6sOI+y\ncn2PqaGVVsSikm7mZ/hmaDaOahX0RXMGLoVmB0KxfJaudPZo4oJBjwbAqrBL\nPYwj3CY6sXuGg96M+6280eaENw3+4XTjLQpEpo1VoSqzsONn2Fz3emd0fXxW\nybqXhoNqRgCfY32DMmQ0RsFiGh0cLLAaHYP0jq8hHUehZJcEV5ArdxzpSp68\nJDu+zoSr9GIsNogalb6dd7V6Je+0JCbhdE4NblIs5vbabNLrc2UFQHH/kyy4\nnWNm4CMBZCT6yITQmiqzv6KLfKWIm3ZDaxKF86i5J4xzP++X2kT10C5C2AUU\n5gZAbFBKDomcg/jMIjj4o+1YjzpV5xmgQw3uvqaanMxyXoQRj48Ct74rW1c/\n2ctJgKK0g38GBU/Db6mdid+YdX94BNX+zczv5ARG+sv3DcvzwhypGwjX1QaN\nEwqA\r\n=X8m4\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.0_1618870761880_0.03999325048638136","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210420.fc92e9b":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210420.fc92e9b","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210420.fc92e9b","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"zhyuer","email":"zhany@microsoft.com"},{"name":"nintan","email":"nintan@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d684046188b6a6d73910f521deab3236a2987f90","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210420.fc92e9b.tgz","fileCount":142,"integrity":"sha512-B3/R7yUIQonldL04FMQL60Y82gD7k7vtHJ4KmKd5cAo4tvauyldeqAc0uWoD7EfO300WxAxkJHyQqKFSFlXgDw==","signatures":[{"sig":"MEUCIF/WW7BAcqvFQUOg0bmOXuO3za7nv5ka/Q0LwM6I+2DLAiEAnMwGm0iKjo/WQk9mP606+otL2Qrwy0jn+oXAMoBaUHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfoDPCRA9TVsSAnZWagAAG+sP/18y+kjgRM0uE7o6M1/7\n+09wZWypMyD7VB4KjGqRUgEZmbyrPMsiiTv3TiZFxD85xLfTD8yHM9zMNUjN\n12LREz+b1nfvZo4bLO0nDBoh5VB/YZG2t0LbpHmSz2qgClq0J05I9RbFNp52\nCbXbRgG+pL3IDo2sXVKBz23YIpJGstUZcx+4eU1e92xMK02dvnwxqdIWOcUg\n8zmzSZIN75tBrB1RPe6uRfFhe9RYzPYcl319m6kGiaAv5GU3WImVBdXcgCvn\nC4awsdMqNiNE0LY5YpAAHEIJpoMPzlEJO5t6NImY71c6JJhemmmI9wBfmr53\nYjMR7EP+J95VRgdjkhoo5gpY3sDIQiAp2TwRNwbCBpTRaWSOVQRn0BBxeNpZ\naA45orAsiiwumXEzrn6KLUOvwa4ynZHVV8Q8UvGNYlde6OMHRMxWryfTrxfq\nfRGreL4eyaEQ1bisSaTIdAvZwAnbZrW9VCHnan/1XNLmZry+mW2dM5j8gZHA\nuwUvp54fjJ0ZEkuRAaJNkMRDVe8+dCWdauML81r24YCa5dQlnZPuGRNCKnXE\nS44n3+7qk6oHlQX0zJr7vFkO1iRLndkpJ4zqW9AGzgZTpkcrfAAaFl052LkW\n+9uD6AwzMcC/TFlnvpGyT5Fpcv0csSJk+MFicNxMlnLzrbYTfonCGMkCEH9q\nTsdT\r\n=d7mt\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210420.fc92e9b.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210420.fc92e9b/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210420.fc92e9b","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210420.fc92e9b"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210420.fc92e9b_1618903246841_0.8441925085598396","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210422.eccdf02":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210422.eccdf02","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210422.eccdf02","maintainers":[{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"bb9ecfbb8509b9423a29816a76b9c178c349aa06","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210422.eccdf02.tgz","fileCount":142,"integrity":"sha512-4BRwjCo5GPdqT5GPWGQEvNQVkbLSA4/Ru84LLpMYStPLj119vztUog5+A1sAHzsOFL7nSRZckpII5ObRto1BRg==","signatures":[{"sig":"MEQCIGc66T8U4Tu8JcJ5rqplVHPR8xZeP7L1bjvVWld7v2m3AiByFKz/TqvkQIC37gwXMKFH85/B2cChnU86QVgdmh5ziQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggSQiCRA9TVsSAnZWagAA7GUP/AsmyJnIbR45UpCRAcb9\ncyznJHvIpSWdsZeBNUsSxXulo29tWjxNjLv3anAzqA4i6iwdOHIvJepnSVa+\nuU3fFZgPVvno0IwelTybmgxBKh+Qnc4HpLI6dbLPEzcYnGfJzz0+r7ECaaHj\nZsH6RF93u/yeupajcTTCVjsAUWN8zsNU09B3v72ajcn8opNpbpAm01JTUt1C\n6WSJqWDfc7G4Uq6v1ryppOBUD+lNRGatH8CITpm1V+8fgcYWFXG99nKctO1t\nlvpByCSc8AauvFHzP68qrCJqJLu0D4g94nG8YR65/pKUb+NMIp9mRvp6e04f\n0NN0iq2l3VEATYrzCPHYbXxX8MKX/BbumkzOEwO88X3//xKUOHJ+oOUV+K43\nTND/oCvRiF8RWSU7HaDjR9ruwjirUM5Uy0t/+wWLpdajEyXEsiASb5Spk6a5\ndJV+/USL2VbbdRdg8eF9o6fPoLN0wUCLGZKE9NS1yXtgjmbDqv1r1MTRK/8y\nWkxPgmMkCrAXw8UlVgVmzxyz37vsU1dPQjSjSHLm7IGGswiOI2HTZdGq/4Q7\nh1zz5C2c97IsIzApHNE4iuqI/Fl1x6OTBQVS8JDNsV8n44WdOgaL5u6KKTcp\nMWvv+zxKsN6tTztmqnjYNGQ3dRN56JsLDt7uxZEnLRDjtYw77OrfnjuTjar0\n/lZs\r\n=fb5F\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210422.eccdf02.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210422.eccdf02/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210422.eccdf02","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210422.eccdf02"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210422.eccdf02_1619076129851_0.09632549051141126","host":"s3://npm-registry-packages"}},"4.13.1":{"name":"@microsoft/bf-qnamaker","version":"4.13.1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.1","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"cceb45d4814cde66a1e9447b77d676f3b97c4add","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.1.tgz","fileCount":142,"integrity":"sha512-7mvTmQ3pVNPc1Yn7XPrpMGM8kmiJBs91Nj//L+I531Cf73NkPSFOMKPciUvDwwhzrdZb0M7RlKXvo8DBuCEjAg==","signatures":[{"sig":"MEUCID8mXaZj1vf4c5Mhp+ohgUapKiFQwyqDJRErYwn2ZEDcAiEAoaUN1lRBx+oLO8Zx46cWftn6ko+8h+jYaei0k8tI9YE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghzN5CRA9TVsSAnZWagAAPTUP/0nK26euJpQoDmgx0O16\nymDRoY/hJ7gzO6WKuiKxEGEECjO9KpjJ0BT+EV+NVI4nerch/WWHqB7m3ato\nHLB5veoBykp6YU7QeWr/5zV8nx+SAcvcHyrFuhvncdGPcrwaxrA0NJ8QhsaD\n6RHl+/slEfzHbnSINpVSo572QXqQQFRrUGBnjuLE+obpaA8MNxu+uqWdEhuG\nt7pI9fphHj4VfBMETqSR2EmkFP2FtE4DTQoQPI7rXvYWERI3M5bAEBQ1xdkR\n8IVBfubRRbzaiQN78IEhsO5Itg8xw4OX6EOIniu9iVtIDNFPeHIgtMnmDOz5\nF79ZqjwMZKn9aLHmzlFpIT5xDKvRRfi9mQQa8i1VvfUlSJmcVVgENsPzz1V7\npFvFshf4PX4IIhTczROCqHze6aLYIxCqurPc5tWZ9KxivHQcywdtE+q0wi6N\nUDTF6S76pe+FC1VCXnDPDaGkyur7GLAvxwocDCLx/LCNc3aiOP9aY1NFrGxR\nMvkP4h7FNMU0OHibDMjPc4yGtgh9fFY1/+a5/u9Vp05InTgZU7a78YAeDNCQ\nbVbg7zbbOC9+WF6qlATLj1Mw1QtI/j1H6BAnH0heQvlGtKA0ZocJX2P1u4X3\nuY3B++gAJt+XXwD8e5Mh+R6rcZac3WwnvQGEY6RCNLzuKJVHqAZaFmH8E2sh\ng3Tx\r\n=AyOe\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.1_1619473272844_0.005752384346480621","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210427.c0be653":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210427.c0be653","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210427.c0be653","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"612324b634457d017d97c480b8f9883537b43129","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210427.c0be653.tgz","fileCount":142,"integrity":"sha512-tVIyGLmu5Z1LwlG/9MvJwFXfFomK7BosBhEcu5tWp/YWQKSV9HrV+eH9GMv4bqQ9bQsg8g6iwJc34SLCD0jFJA==","signatures":[{"sig":"MEUCIQD37qlpOplweNyaJBZF/d14aKmjLdlql7VmB9rDwWyASQIgAcO+7fiNZVfzyaxdKibcKZROebpQ5M6fWlDfmve64ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh7uYCRA9TVsSAnZWagAApeAP/0+FxC0iDA8mHMBZj/G5\nQKXzjpUPqSp5gEtIm5hmORNXZobOjXsQdcI0AMk9NCb8dD8XdCey5Xwz2y7K\njg1FFmUbgFGiRirzq6kPCcax1U3gfRSdfDibsp4Mq+oGhGG/gQtA+uccMmef\n0bC6izrTz/Z8PfotDH6wc26WTk7Gif3y97PuFfNAy7QKamoiCPj0NLkEzrgN\nAVyI4hk52l2lrHptuMmNcX372AXt1ld2yp4kkSxf55AqsINParytUmyPThIc\nKEJ9WTWyZY9iFej7S5VOqIzbnEujErC/vWhd2Zj4Pu3WDAX11nEGjdN/mB1X\nhg4Fpc75oc35wVoL0xXhuYfBYIT7iDN9QSI+y0evzEpSWVdnZ4jo0Pnw0FZ7\numskva4C12D3dpH29vxLYsm6HlWOEJ0EfNlsaNOmQTbpjwBFINys8GrKCQlV\nq9CmeZmKJZ5E6i52eFbWd55pmKK9RiY09GuowuFkbBEuEXPuNGylM0uKNTcZ\nratRZ543ee62NDq97WmtIjzFT2cqcIHIoXVsPAF7+KNCTG3TmULw7Co0KpfD\nPDaWRlr0B785Yw6AdnI260ZHUooTtecu70VFy8IHD4NrlpCs/RI7CBYZeBvt\nyzIgmraFvS1RKlCbSyZOlwF2yXfgipahZ+pcjEunel5QCo6u1MkrdoaEy4X7\nBG83\r\n=dBAw\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210427.c0be653.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210427.c0be653/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210427.c0be653","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210427.c0be653"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210427.c0be653_1619508119765_0.10285218313157829","host":"s3://npm-registry-packages"}},"4.13.2":{"name":"@microsoft/bf-qnamaker","version":"4.13.2","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.2","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"2eadf5f8723339b486dc017a6ada8c2abd6bed9e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.2.tgz","fileCount":142,"integrity":"sha512-k3AoJHIR9dvcN6kmWSj8MOwDrptgrD9lNGrbTrYf0+3v/W1xjDanYriJr2OW4+j1N148GQeMgz0DCBmNszaGUQ==","signatures":[{"sig":"MEUCIQCIELYUQLJC2GdH3iQEved9y8u1mmtj5FVwLzBZlBRJNgIgO5UX+8YvnS/QLhPVA9kkEk/4TGvmW4WlYgnZGwnvT3A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgieTaCRA9TVsSAnZWagAAE8UP/jQOQ5dXaHvN0Aspy8Fd\npRmhzg3jNjK9LwOJHJhyPW55iO9z858r32YoXjZMJYqgfcSmKzFkXe2nCwtj\n0trT5BharjvNJdwo9+Uxli/u+0x7pmxFG9Notdn09ZTitOPBU9Lb12XUOf9F\nkaIPUuKA4VudXJeSo8LJ4+jAPFrQyrDOLEb1/CcwMC60tCrm8PC9+jeU0nLB\ncaToCBKUq7ZwdcZ8PsHKWXgokKuJ3w3yolr3b6jqZhcCuYxj5Q6FMEJup+OR\n4ZqNHJrF83Fj2ACL7tAC/8zzH/HeeryLbuzvO7GQr/Ns4ibvnJLickrkFE5T\nSKfdNxK2CvKejMKKJh6kLn+PvPHtOeEoCC36jwARIWyw3Ot/UHk5L21xDixt\n0pT5KTK29+NT5TUvOkL+2KkNozh636zLkgufWSOJNIJNreX2aVjySTPqtxV4\nDo7QLlctkLWj+w+NWPc5b648AKIYOSuq5X8hqnPR3Sf/HMu2J3qeBoTqJ4Ir\nuu+42A3IdS+bjDvKg8P2Rur7tW/neqWuvdjkwdE2UF8j36IZJe7BL2psNKhx\nZhdMAoaVho6KXUWbS/i/AXWZidKyGTlgYcsqrbeq2TwivOdMLRk/DlZ1w+1e\nZpsoHKTRGDefRe8BjmBR0urhM074NltcyHqOoICOLFNzqcOYgjMUn8JsMBVF\nA0fV\r\n=9V/f\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.2.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.13.2/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.2","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.2_1619649754158_0.16618685044404402","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210429.968ef75":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210429.968ef75","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210429.968ef75","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0bab48ad0b562ddb8ddeb4722d6d511f3b37980c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210429.968ef75.tgz","fileCount":142,"integrity":"sha512-le9e6b6mqe/5GbHMM3vs6ahA+mFuBaHDbNRXPMjY4DdSo7iWJhv3tQmvmObMbh1YIWi6Rgi6rFKLQyv8ZFCocw==","signatures":[{"sig":"MEUCIQDkTroHuAK760IgmrDMc9EX8dVRSvDvfggR+W906BNw4AIgF2eKLpmWpon1UJIIkUrfSuqx1N/UfkIW9Up3qWmtzzI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgitbyCRA9TVsSAnZWagAAtkEP/R2Xp54QWpHgjATTSzyH\n3giog+GzzWmQtKk7siU5MGojuH0jkXz+aGmyXiyYx1GVvbBTFkiZy+FeAqMV\nJML/f4Do/WTQi+86BaUqamyMXtKUikhSz8lzxDFloX2DCLEGiGhcJeBN+470\nNhE+WNPZkym7hXZP7arjKsm793x/r9PVr2TLDE4Gmy8JjCopPOEdXRkmqxnB\nuJrcnTQgKpXbQNP7NBiKn9qJz6r8mh//EkRk2fH0GGGmJBJ/VVYihvX9kzaA\nt+EGOMmJjM7BLu/rO9mFPaxBNpfL8KU+tce0QG9ExgUx/JjyZs1fLJq040ra\nKPk2hIL5QL/tWelgP0hpB9ysHg9CrIiCxm26Cs9nj+r/tn6LodXlv9uX3M11\naGQjY5xEl8uM7R/Ls8VQQB47vAbeaOT23KIYjEEZuI/N3bhkpRfVzgOx6YAc\ns9/1FDIPuVvc7vvfT8JdQ2jFmFXUCqLw/6j+j6upSreUeVbaMGO4/y1j/Fwz\nG7bZWrjru5qmoStawH1wq2sCX8e8ag8YrRb5WQR8LkAu7LnOgAi9QKOpK+q3\niWjZd0g/KWeiATfw8MHOwpR63QaWO2CeUux1DpPZVPx+kcGbxO4rPq0uwaVj\n9mMr7I1Yvs+m0prcP5CIxwY4WY6WJUoyTWt7I1obsn0JjI2itVA1z8XoHf2Z\n/4ne\r\n=yhbv\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210429.968ef75.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210429.968ef75/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210429.968ef75","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210429.968ef75"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210429.968ef75_1619711729657_0.43784416222268896","host":"s3://npm-registry-packages"}},"4.13.3":{"name":"@microsoft/bf-qnamaker","version":"4.13.3","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.13.3","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"nikithauc","email":"nchettia@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"eb47dc8bba013363d09d269e89a58d3a2b5be297","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.13.3.tgz","fileCount":142,"integrity":"sha512-wW7H8QedRhBettHsgbwUzJC0wKUCgqzVqmz9iplN92CzgDwHKQIhRYu+B1Xfj5endWtlB2iIbTBJjewdb15e9w==","signatures":[{"sig":"MEUCIQCfxqfrq7yVubp9bMVLCl4iZf2wz8uTrFQ/kVWac1GYGAIgGN4jHcACLMW3u8cbo9esO8VM6mqTkGAYo3HnW+K9pls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":283484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgixzSCRA9TVsSAnZWagAAEEYP/3IkYvZJS/5jIriV0W7I\ntngGFH6iN6sA3jEQQe8LkBroiS+0e7cMN740swKumOMw1xSRvEG8uAjljuWa\nHeNDv37QgwA1XcDVcZgY+84xT3Zz/hOqGVqiOYMqDdKgWZ3hDsHt80gqeREp\nWd7bvbC2l3poFKnIFKGAijvBqbZw3EKRpKjpi2kKcwaezk4CDqwfYAPjXOMf\nsaxw71yyy8OUo5GpqJ6kkqqNXPfYpJkt/53YrwkRVwNq+A8sP+cMMkQR/Lqu\nkUlsoxMduHXywT0LPMN9Wxq0RMiE/3IlO/2pCkbb7YHUnf8g+5maZf4duuxg\npdJ9A6LRRGh1cA4k2fJ+nNB096jDSHXwH4YjWMGTq93QZvAA8RVHyJ2EzGR3\nuNYT8PZ4gmoG+FF0eOBBP52LfNoey7LoknwQFr4Qt2D/AM2/2xBWdXkBmyeY\nz9mJpG7GYx3auKSOKD2sP1zuUzUOE1T9lAFNwcySwUZaNjaoD6mMtTtVoc2i\nyaQjFz8+mpSi1jq3CvriOLTR2TTv0PAZZgwbVTAJGRcoaFMe0bC5EmuEWkoP\n9qAcPjG60yoq4DRQmOntOXTMulr731A+9AyCGPwLNlG4nqtj2ZGrAajhytxg\nVMSLpkZ3byFo9gU9WiH3Or1SDRmPzU0Fm90zkus3jNH0pR+WVXQWTEpW0xYQ\nE3r4\r\n=7ECu\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.13.3.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.13.3","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.13.3"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.13.3_1619729618257_0.942161218771836","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210430.968ef75":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210430.968ef75","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210430.968ef75","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"88de179eab3e28701713be546640a5f17f16d54b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210430.968ef75.tgz","fileCount":142,"integrity":"sha512-Vgea5H+RQZgoRvYIavaDrINFKeoSphGYBRK7SttsAsedvd6sxZ5Nfr63PKcAn6+Dgtf9Bxtvss7YVQkp7kEM0w==","signatures":[{"sig":"MEQCIE2wHGYAerDppRdvSxq0yza5oCqJzffw6Dg8jWJFnZgoAiAw5hIBJ7YsO0HKN3/xY5R3Ic1IhI0zdaypuev/QEjgeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgi6+UCRA9TVsSAnZWagAANMQQAJCNKid9KfNlKff70CIf\n77gqwYiQ6/n0yN7hQNMbn857CquWsmUrLK7KzUsZnN7PiF1og0YJHa818Qcr\nRaYM02dvYVrXvTGPE21ldypgMfEzPjlFkAFOmA0JyjGMB2k/0oHrtOAftOOo\nGu7NZtxoRWtwyyJTpf2qMvOvZjsCT3iKAoOY9GYcgAASr2fGNdynJHyF6F2h\nAWwtX5n6rRezVes4ODfRo/m5PyGIpnZFaXr+94bUJoRMjeaBKXYxh6Nw3NmW\n/i2d7ejIEqjbjR1ndm9p9N/QHGIml0Q9Svw3Kiyb5TNScNvWZ/BhgN0Hzpg+\nt9yJ/3DYfSdtHLLEivl/cA4k6Lk5yfvRmsi/lFjSzP9NhSKmyi1J2xCiG9WQ\nBaBgHLU9UVTX7Be8Lv/y+6J4PaiVb1HoHRarqNYNOQd2WKvexggaHQsQlnVM\n8Om7Px5za/PMfi5Xk7u8+nZff5npEVjUJccsBZ0Gd60S+ykukBl8iX3EPuf0\n7NQ8h1shYftfAlXTQQZHhaxqGun491pjB3Bmm2clYqCc77w3/6h1JEBciY5Y\n/NEPH2Vm6pZJeWYoPLwycWMQxbxHDFT5rafHtDeV8anqTkK6QbuscNR3wco2\nK9wKKrXCZ8I08to4mF24QvB5rvy5oDi2LO0hQ25AGKydrxXGu9ww4v8bhX36\nJ8Nm\r\n=dKS5\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210430.968ef75.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210430.968ef75/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210430.968ef75","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210430.968ef75"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210430.968ef75_1619767187470_0.7106461148644723","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210511.07bbd05":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210511.07bbd05","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210511.07bbd05","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f8d956277710958224dfe2b2f6ceca671e37fed7","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210511.07bbd05.tgz","fileCount":142,"integrity":"sha512-D9+fou4tpB1Rdr7FRVFRCov4uMo1TkwrcJFl3tBpf7aezbnwtlVpGtBfzPKjb8wOSEyQJLM4UVMO79EHSxST4w==","signatures":[{"sig":"MEQCIDlnV4gm7wYhMasg9ZPXq+MfEV3auSXcfPZdGEkHDuyhAiAzu/NuWhIyJmSzfgg3HBOSAEwuMmLi3bqhCSl30UbdTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmjDSCRA9TVsSAnZWagAAdW4P/07VEx1MTD76VclsngMb\nD2RT8Z93z8CsP/jA85cnRKiUJyutl5MM848OwpvNYZZW6PjV7J4qREz6liqi\nplIoZTKKp8t9Ym5hEPlHB6bNioXQSQxQ1F3XG1XBrfxwtgc8kZYhyeosHrM1\ngMzSBh02bJRIkezefc1c0KqFvKyFqeT18jn4Xzo6FUE2L7yiwN+DpSavmT9z\nvbWBTDyxCAH8gto72MYtTjON4IAZUb2ZOKNmQsf6kMNpCaBbCMkn+pLRL0vM\n8vbH6ESrs0BmfYPDaH+qVuy8WCUAnIMJ5WHuw3vqQUn20Lx0GT2K/24oppEI\nCCq8e1HTg9eA6mgbed4YubLNSjsSpqAXbz/cjnaGqjIZuG3OD4ZtqAeCexI+\n+DjmiXxISx3IlkaimeVDdI0IAznh9NjXVonB8Jo53B2129v5Y7Cfww4WhbVd\nxo2ercz6XPEecmy50CQqW+SsuemVmKu85R14c5hWEAmavRxZ+b6Y5ATHbMsK\npFV6NMFkp28tx9BzsUKwsyLKzc3PJl0XdSzpHoNTgJGYLTEct4LpWZFz8fLe\nnnH+2OgXONzxGA73gbPqnEs6b7Hx7wbLJM7boKpJHkRP7cdubgJ4FHZjb4xJ\nqf4wTJu6npd/uobJfnKZCgELIyPZUymgVE0OnjkcRYbxSVr9XaDCQdgs+3a7\nxgK9\r\n=mNPD\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210511.07bbd05.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210511.07bbd05/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210511.07bbd05","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210511.07bbd05"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210511.07bbd05_1620717777560_0.5773658179093912","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210517.4cdd4d9":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210517.4cdd4d9","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210517.4cdd4d9","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d6bd415a5f8250eaae1c0dd0115976614c8129f5","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210517.4cdd4d9.tgz","fileCount":143,"integrity":"sha512-5umyrWIAgi23SXQYUiRZiHikpaJdkIACDrIPs/pkop9aM+ZHspKiLYcVRj745XSXK68FS24qCIGfVwjy6N+Cuw==","signatures":[{"sig":"MEUCIQC9ukdarCz7O6rdoQurJaVUafdGInGSLfeEO2T+I4wYOwIgEDYCByxMqIK6VOqSx1H+xXMPAPGS2hjRQZ2igiP/l4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgohoNCRA9TVsSAnZWagAA5b4P/RCrGfEZcXLrirHfioDf\nhHIUgvmX2ZKIz51BQIMPcHb+HryBrLT5U5Sw72dak+tAH7znLSKez81md0Ua\nAI88Raq5Hwl+4FW6XMT0fDzvdXUKR2qefLgABdyacp9ODkyBvSOc0npZNwE5\n/OM+3hqrvPFJPj5Gry0H7Jm1avjUdoACUOva5AvE7Nm0ivkAFYElELUvtW2H\nnFHETmuVHgPQ+WAtdtLXuDjjmQxpgWPgiD80EpE7yae+uA9KyWfMzdGT3aPG\nb60V8h1e8XFLOc7DGxowKBtUrYpaDTXLprS+D8vo7PFtHAmjmjjcdcNMwbBM\nSC9/rlGI9vfvL9WG5HAa39ip3G8SQUt0X8sgtw6o+cvWd8t66dLpSnRTZHho\nfGooPLL7LEiBSm7d4CDcsVecqtgddERS1WzfLMi0HWbCul2RVtnAvq//M6o3\n3H5hbD8c7wU1bK26TffDl7U7MdsgESJcdLTYdGrPZ07XbAquLKYI1pR/cCQA\nM3UBzmUmXE/XZfyrGKzBoJ36Ea2hjQl47V1SyGaL9nzhD5AyA6Xuc839hHgI\n2CeV+GWkUVlFDlG6iyafqLrXv7JXFTRvM/6EEAbMkiXQIDx60Q9KG7bM2ZGw\n0NEHhYRl5kLHxQ1NVE4397VfFKb35qfP2izELlSHKPoMoGDYhPItNfLGMYLH\n5c+2\r\n=Tk2P\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210517.4cdd4d9.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210517.4cdd4d9/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.12","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.16.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210517.4cdd4d9","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210517.4cdd4d9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210517.4cdd4d9_1621236236665_0.10261477977185263","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210519.92dfb46":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210519.92dfb46","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210519.92dfb46","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"50afb67c5defeefd9ece56a18a39eb853dcc4f94","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210519.92dfb46.tgz","fileCount":143,"integrity":"sha512-+PEq7gOS4N1mihnwPDsmHgrlIMthgqq71Ug2GQTPO2dADfHIpImPXBCuSrJ3vrDtartm9qgKRFBDBPKQ0SeE4Q==","signatures":[{"sig":"MEYCIQCbYp3vfSk7Me0nUNMJHXjQ49gfnpwFhyKSuTWAgYuSrwIhAPpRJhB95NKa7vtmq2nkvTNZtUy44MksyEFCQSdFVlMn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpLx6CRA9TVsSAnZWagAAqt4P/2Y70WDtgGtYI114PM8s\nePHTYxasI4FuReDjDYrbsA5RIa0s6LH1DfIb62QqYEpBfOzchGaW/XuAglia\nGcVrtbwKFEd/+6wKcPdHmWrbARZW7K3qJiNWGc8j2uE2xyqL131+PbuU0ifG\neU1SEgpnf17LbHU6fznz/1/1oLS5T3tPkyzvyfznsyJm301txdCrIGa6pzTe\nh+XvScMeVSo5Qo1gzZ/pDf3p/9jZlEB+CU/JAkZJMYMh0j5/5d8jD7OBa0S3\nufi47aU+JS55i81zkuBTw3WF51VQWCmLJELHBhThSyMtsshZmGthGqOsVkNg\nxZNXsnPg5r7hhvIv9Ht5t9xFOMbszCAJfGN2RLSciiT7toifW/GJXVeFrib0\nBieA1atGtugX5mHYBpfK0iJvc9bpOvjPS/V4pRRrOJ11hcJSZKTaKqnbPL65\nb0rHQRggAmJXMLDS92RWMhNoTRwNrqL4Au1TAj9vWBlDtPyWtNZ1shFqBCKn\nC+ndrYDudbZdTCykVYLy8V82FoTf69/UhURxd1HVtiuTjxPRrG2rdmfjnSe+\n4TX0XeY8h6+l3iiVqfsgBO+57NWn6q5Ym5tOmVbeTqNPj5f2bs3X1o1RT+s6\nF1OCky6rirIYkgAVAR4+M3I4iI7B7IXA+lhA1ZVcQ+DV+RDuxskTSxADePs4\nLqMn\r\n=TS+v\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210519.92dfb46.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210519.92dfb46/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210519.92dfb46","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210519.92dfb46"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210519.92dfb46_1621408889582_0.024226753805983492","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210521.64e1d40":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210521.64e1d40","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210521.64e1d40","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"2e1654a470ef0038ef6e808c4d5946898d22f09e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210521.64e1d40.tgz","fileCount":143,"integrity":"sha512-fNyVu6CbgUuz3MCmJrkniIACly1ZQcXYi7jKYm6Qk6qUkijwtvS2HMkfkWBcxJe6uLm2NSVauf2N6uUeloC3kg==","signatures":[{"sig":"MEUCICzywFfdVxyL3V3aPC5rxfBT9o583QdrTi7ax33FFc3XAiEA79k8X6YWeDXADzF+PPfDfzv6eew463dwswY/v5AYY2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp1/TCRA9TVsSAnZWagAAbmgP/1avrn3Bc3Ef1BPzy8+7\naj1HRmrjoCDyV5BTJ/mJlZ1owyTAcQRZPg6Ouq383Mv9QBOeTrTB1gVYt124\n4jIgekIeuOH1mJA1zOQ8rgTe+xsLqZCvvo9h/yQ6uUEQdcoG1G5lUzprieSi\nGVtr6mrwZMIBplmtM7ohhE3zbZMutQvVFKZNBMagqQPjAsVJbBD9v7XddR7t\ncwEFkB66t5ZPthS8UAYTyST/iSfEzaqZCzwaSGHPSCPHe2r/k73/I0yzXkuB\nnKxP476AOKSoLnZnCh5jG0DS01dLJfROUdy9sNVXf/UbL8iS2sBKmCFy46zk\nmXLvd73ZTuvgUjq9OinzONXlXxni0QFcZvD7DjD0DcDpihsDDoXbfYbxuRB/\nVTLP2hZhvLG2UaobX4HHWz9qHrpraS3iifm7KmJ3Iy8tjJ8QJnkN44XyzQrV\nI7Bf9BlmIn1qVfTVaI0Q0HNvlKh6iK4MlH4XJ0JIBupGdBZwqc2XPw3C0DoF\nKpCSWPHT72UQGIUJraZ1ncwbMtfOPjbd61h8xekfqaZMJj15pdbOnV5kHxII\nLRv2QHaZqxDKoiX/lbrYwnJfUXfg3ARQ0o6dnEkm15EWqAohIF7yMygetaDd\nXgTHyaqLT96bfrPufqtd0brPB2nuGInq3zoajNitUiXciG1LMUl8VslQI3jf\nIJNz\r\n=113a\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210521.64e1d40.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210521.64e1d40/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210521.64e1d40","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210521.64e1d40"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210521.64e1d40_1621581778996_0.13844167827414422","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210602.be805a8":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210602.be805a8","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210602.be805a8","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"810ee3088d348505d9e06ea712c8c85f6388966f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210602.be805a8.tgz","fileCount":143,"integrity":"sha512-bzckB14+ftmpl+Vb3cqLlZ7sGP82hDB3qyQhTpAsQln6HV0xS+MUKhcZxPAxfVFtHtqDgJlgd3SI3nL36g3+jg==","signatures":[{"sig":"MEUCIQC8Onk9wi4CmtKYXalXIIksVhtgfrcMMtpXgKiQITxIoAIgP93FOO3y/f+cEsh5LAQcSFlFM0ikfMi1iKSRb6IVDx4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtzKMCRA9TVsSAnZWagAAK8gQAJ4SDSHxQskE2mBwoT5E\nTGqTJYLr/E/4WX73P/IHMZqWAfbrDG4eUzFsD3zCQUSXIkcGC9oYvI2PWB3I\n5oHIJcBsI/iGAEH07b1JuR8HwHA2f6ldvS2rXabHv2GUA2ogovpc7G+A9PY7\nKKIyxiK1R7OTbCNLp3SxaETpQ6OEySF2f307J6qwsQf2an6PPQwk1zcV/s1T\nI4iMEmtdHpl6RidGQBg0ZqpJHheE+S1f5gO7uWrx0Sp/FExzBD9YBo6Lbbkg\n4nyo0cxYxoQ6f1mR7Kfvi6fzk0iqw28W8A/dFkgg7E4X+/Y+OBuphyHli6+c\nOqVlGDO+n0JJEhp1rfVW4o+wFlsFKaM1sWAKPrLmrN/4w+s6IPfmPGdXpxEA\nUGA5n4lXNxWRpPlfkeUP/uUKqpD2UJCVJjsOI6zjoWiNIrAJrICAk4M9T11g\nLZxRMFjax6kDCfIT/efAIvg03k0AdhazrAgchcNbN7hIwArJBRGD2IxMDCZd\njBcMIiAEru2yd52ZYozKegKiSmzCz1y3/6m89+RHRZ36T6h6DkCICQ/6N8eF\nuTGVNfD3C/MOfWjyAoF/lT3BTyxSSjAKU+B/xXX1tQe2c3OhVyDwhwzBM7lL\nO9VtenP0rYC27rZCi5hWNSSMXa/+dqDSrZWZzruTcGftl0dMpn7uycWljrol\nNRil\r\n=SSkY\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210602.be805a8.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210602.be805a8/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210602.be805a8","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210602.be805a8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210602.be805a8_1622618764491_0.5403548101896867","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210604.3f9ee15":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210604.3f9ee15","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210604.3f9ee15","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"31d172d0040cd7f2772d1c21efad575c102d8f28","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210604.3f9ee15.tgz","fileCount":143,"integrity":"sha512-LSlxQ1BpSvkQa+qT+U0GpY9O7EVTE3FTrSl2pnjWhZoAF5rzMNqYVQyMWl0Ub3bE/EbV0/cA/hVSfRGezgLkPg==","signatures":[{"sig":"MEUCIGqaIFVrIuNQmLItWztrMUOckYNQpcqtCtP5ZlzTKnS1AiEArxZClFk/yqaCEPgdXNC8bbNyjImTpe9UFHYug1UWvGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgudUKCRA9TVsSAnZWagAAlRkP/RNXgVw8H849Ir61G6OT\nqhQHou3sDOlrqyGf9sF6wM341jxcAWq+mhgiEDi5x9BQ5hWyRplH5UvtHHVa\nuy+TueE5aKTpCa80+M+NtkVk9FpH4Sx5nsexPuoD6fQMH5Y5SHcXSFuiBGq7\nl65i75Ry3/hCI6ugJsf6fTwdR9p8rDf5QNPCxIKrD0PEacR43YW58iTICRmv\nBenLDS0MyAJMC39Lv6r6O1cwKNCF6MfDObTahwXtJFti3eWn5JX0zh40HZHr\ndK7kY0Lz/SPhSg/yePPSEnr+rgoXpiM6RXeeKL+C8MMeWWOLSWOWw5Rn4ljc\n3FJ+DiTlBKuJSdpLyOIS8FgWKaDIY1hePl5iJm4b+gvFV1lIEIb2vsw6Bw86\nXKaQFxPHsDJtR3JZDZLa882RbbjUFgD8dlcwWYnI652MsXRUlQleFKXkSNv/\nRHqB1rXLm8vsGTC65ukQt4WRzRtBgzix3XEZ8nlxVQCL3Nok06vhhsimIlhU\niRjcF+iCqSlaz0TJ9eNVnXSzyiXNQdQnXpoVe32HVZ2Ev4W9vlsewjhEU+w5\n0NOQWTCt3I45tbxrJrUFfilk8DBwj/8Lql95VjG8428Y7q89K9iOnSFXDBHz\np4cEemyT+K1WFxE8429J1eBZx0s/vkJLiVMRLEkd2gY1Y/9vmMidKCHujrDE\naq09\r\n=je4Q\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210604.3f9ee15.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210604.3f9ee15/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210604.3f9ee15","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210604.3f9ee15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210604.3f9ee15_1622791434664_0.9508419181292689","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210623.37f59ec":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210623.37f59ec","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210623.37f59ec","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ccd9a266045653181a46b91c8eac06d3f50f3051","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210623.37f59ec.tgz","fileCount":143,"integrity":"sha512-aMLA7iTCPW65KtdwjidgYQZlMg+FPDgkRBfrFR0CBjCVrVMgPT5aBYkcMHdV77KQVz9jlB9KwPqhbDrHlYccxA==","signatures":[{"sig":"MEYCIQDs1YPFeH2n7dOBOgbUvzvHD0EBC1csic/T8+NY9dNHCgIhANsKW6AkgIPRHCuTsxkBzxgiQnlWs37qLhWzG+N3j9/C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0uNWCRA9TVsSAnZWagAAi5IP/0yl2bYx23sRSf85/YDt\nLxcjGX0lG5qCII8pWhf7B366zIvLMpqQi/FyMeanSrVIrjluGF66CtJr/6mJ\n1i4E8uBZJO5pazTOivtmt4mnvsETO8Mkpv2GJbS/ddiM/WPi7PteeXDbtz4J\nseR2l/9OBhTIUpB36XyYTXOdY1zucDAoIkisyUuACJvHtw/Ua9i8N0FWRuWw\nj96NoW09pJdJUyyJ9NYcqzEX3mAUrQ0WrMokKcTvMo48zWQabG9e4PH9NGEM\nL+Zg1FACtcgzzkb3FAmR0ku9VRSctAjP81qZ7Z0LM7vI9cGz08csNq2spQF3\nTWdLDYykFYFDFQEa5AVtGOeOlmcMtCJPYAazp79c188Sbs3ptrrd+iAaRDzJ\n3SumclIyw0VokuBqLupB6jogMaweMhcy6+PmSCguKieDy4pDrU8qS1tzloi4\nkeTBVMzFwQWWordwg/xfrVaFBgCT0czBChb4U395lzPNqlDsEiy9K6/mw0em\nQ5GWv8IvMjl063EkpnK2xE73DwoyBGDOOVrQ8sPZ74/ErKBosXl1Wsw/XP/u\nyWDCDHM5sWOJd0d8H/AyvG7oVDAXk9FCug+HJIw5KSAgTRHMPAuSkgAZTMhR\nCQrTQtcYwjc4/yvaqL5/HWD6IfWUcDRxooj4GM++vjqZRgD/W9ZBG43hC214\nk8kw\r\n=tvXh\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210623.37f59ec.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210623.37f59ec/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210623.37f59ec","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210623.37f59ec"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210623.37f59ec_1624433493803_0.8121176671193278","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210624.eac7a60":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210624.eac7a60","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210624.eac7a60","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8ed1f2d1fa4d33eead314bedbfaac14c4d3a2ba2","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210624.eac7a60.tgz","fileCount":143,"integrity":"sha512-aLGyF1oXUZImOu9WCwZwlTMyAMJRQ2Fd44bTXctpR5RBXQdpgLFoJlRdz/MRJ7HWuIhHWEM3KfH/F/GxQxoGwQ==","signatures":[{"sig":"MEUCIQDyok288gCjQO/WwonzbkWV3MtywKHA4Hb/P0iDyp/LqAIgGHu3mH1tqpNlvQhcAdNqlZpX7ySbjgq4kDn68OVVJP0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1DLFCRA9TVsSAnZWagAAN2UP/1RS6WsI6lqGKO+77u10\nvyyCuLrdr3SMe1KYoqhCqzjWb/rrrfEMNpuMdIBBll4bbVTEayFTi2ZmbkUW\ngL04h0hfbqMf8ojc6WB+WYYQuYSdFEn1DJgKssFTGniKuIA8UBgPZFcSJKBu\nBCxNt/auVPtSK9RwkNW0H0fBZcl+J3/jRYNgeUIDj+cRsP+kQhb7iFi9OTCX\nDgMlmHScacZ9HP+kvLkHltPXQuN1HIfi4OhhhU/F9rR47V3RMXQ3KyDHa2Su\nQLdwyARyocMpg8HtmdrX5DxMa+5YurliimzD52IUBXa/+MwDFhmivqgMoYWh\nqupTsPH5NktHIG5zBUs3KOGt1eb3ebvaVQoENRWQinORy91rULRR+VI3zArw\ndieKA0jAKBiB6QYk7kWzQwYxpQtfP25JGw8GwTJ9wVpObVNYMv3Ql1gIviKU\nxkhqUfqvagjCPS3ZvqU4BkiHRlVHaMhB2c05waerlaLxNNFewxcSGA2Rr3C4\ndo4kPbtUQqBhaixkg8ZVmA/UyrBFuLHo8NsTFp3xSxwr5DFqBgx6IsIUwVFE\nJf0E4QZ+uE72h2BEDeRo9f6nVpfi8ibt9zZzEdjp1Sag9zP1JBoKNSPFBAlc\nVPsIF/D78g67weUIum1ntf94OAqD6u7RmpP+9YYmaCOxWWjLsI9DWYcfp7/4\nhjFt\r\n=/BEh\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210624.eac7a60.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210624.eac7a60/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210624.eac7a60","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210624.eac7a60"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210624.eac7a60_1624519365261_0.6862387433197894","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210625.132e0cd":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210625.132e0cd","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210625.132e0cd","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ee48b6dd753c62ab52e4fedc37dd3d064a10d4b9","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210625.132e0cd.tgz","fileCount":143,"integrity":"sha512-rorztDbv2yPjLEI2hdcY8iYcNgBJ3uje9dMQzFyGZUwDXZ6qEqW8/XUtIlpFkpqh/ecV+T+0BZ70d+jimnn3Qg==","signatures":[{"sig":"MEUCIDGgqfjJESTUL96zABqpV2mHK+xY+bT6QpmPbk2M6dIMAiEA0tROIgmB/tmg1G3VXpZ/+rPszpGWEJKBtio1JUCF44Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1YQSCRA9TVsSAnZWagAAT2AP+gNqbhH2RbDnq1e58kYi\noNM9L6heytTMxeVYDjUmLWLs+OAefq2YPC/j2p2qIoel1KcVWWFtCaMnZO0H\nLpEWOUQnBnf1cL0FXuSGhgbU1Cb/Rr6BMD6PWnusSvkUFX+MD++6c72NXQaZ\ntchiIS43JuzgccnXlRTalSADRgzMt8WOxbJDzZS0LyawBYqKpHXfYwL+/DqO\nMROaApatAiNU0HrwDFk2JehXIRfLpR9cGTdGv9SCHNTBrfQH9tLgISxcNjvD\nHeKs7JFi0949dVaUoTZZeblaLUHLePL5Mg1h2s13OP5FXGflcKmEo95Js+SP\nrpXHb2QbaXJWQfZvqpM1uBwyetGc8LYdh0tyQL3SUnb0I/Ozvv6iHqNm14ut\n6y9lNui4QBpzDEPFW9hDbOUbeZfSMZYJVrpJeOGFe3S2hG4h+vpo9seRNvvJ\nRgC52ofGBpDnEyR9YPSnMFPIybpNWFR6UUNO7iNPUXkrLe0tB2wRNYB7E2hI\n6L97ln4kQGTsAf157oyHdwtv5M61dirO+dNTDWRw2p+huqQvHw9nn5BNWitP\nHObHq0uSQ/Ai0+g1+HrBKA8rLrzk67Zm/CFyXiHpeIwbACFCrnqzBrH1Ygmp\nmHgWQfI/ei+ZQ5Q1axAgOdDJcAzyR6hSR7JsStfv9N6wu6UG0cZ/d8KHQHCb\n7Pcm\r\n=osTC\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210625.132e0cd.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210625.132e0cd/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.3.0","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210625.132e0cd","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210625.132e0cd"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210625.132e0cd_1624605714030_0.6468750922808293","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210629.e97e6b0":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210629.e97e6b0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210629.e97e6b0","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"25f984aba51c04576208d5f2ed7b232f8acf1157","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210629.e97e6b0.tgz","fileCount":143,"integrity":"sha512-NI7J1H5L91m8G+8hg1X7dj1xrxejZZ92PIap+ruOatFtEZ+Of57+JmT1ohcoUvMPVbbXuWWLA0zxniev2l1jxA==","signatures":[{"sig":"MEUCICyxF4PBbOsraNqvyADbuX7pvQYA4BXixD/vjGuLTKHaAiEAyLZsQRghCe5onq64pgJVZQ7VD9kftAuhAkVY3fJ7oM4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2so1CRA9TVsSAnZWagAAF0YQAJWrGrX1/fKT604taB+W\nslpr69F8rHz3JW/hFSc27y3jpZ/9uMzw1SEPkKuBrxcDCFjpzn4BPqAQHA13\ny9O7KV9CPSlSKU+ORD3Ilhs2HpKgWx60Wft59PYm/e63XszbRxgsOhRhqdLM\nn2XInp+UrwZn1Nu0iW95q1+eOJtlVJgZGMv9bqTgInfkAHkND8cNYn1Fq4Ql\nYjQ893zr+9au2PMUs7va3/mtf+XzrJG2HurqrtC1kctqkeBtimETM/REjQ+G\nY6knHMHmvXuy81DF9Tchx2W5DIuNXAn2fkhP8YtbQgbua8aXpIwdsBzxPmlF\nwVaQ67aPwaKPQFSZXQ/Ppa1kePq4Dcgw1BJD0MdA2a7kee2BOemnRX3hLvJT\nyCTZIMphfDJfW7OcGh3ybEGdCFT7ObP95CFO0QXMk/mbiKIK79LP9c2I5A3F\ntdu59R7vlHz+CXCx53Smcvqo4jTYRmzHkaDTFPU/YCc400X0um9JeUGUM6IU\n7o/Sglra4bquV1rEmMISj4rSJsPpQqvbY+qs4sKJirIJRvo7OROPQM7Lkqdv\nEYPWvg4xc4RfD49gDwnA2BglLckCD7Pvvf1zR3MGGTZhJgb30smxqCaptVWN\nw/TaDSl9T2b1AEjIGKHZN7635alpG/uYDw0OQ7CbkDsDH5yC88Hxgz67e/By\nqi3D\r\n=2zXB\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210629.e97e6b0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210629.e97e6b0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210629.e97e6b0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210629.e97e6b0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210629.e97e6b0_1624951348735_0.8119350187022503","host":"s3://npm-registry-packages"}},"4.14.0-rc0":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-rc0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-rc0","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"b38a902249cf22a88ed67ac549f003ee33932205","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-rc0.tgz","fileCount":143,"integrity":"sha512-rdkldfnnVKr/Ka3eSPFn+kTgXIxgTKmcTmOuvsftMT6w3RIz96ZSEHQBN/+YGLUkE5EXdqOc1dOX8tR0TniRjg==","signatures":[{"sig":"MEUCIBvoDaNGzry9vcO18jgfm9svWndCimDj5DcW4BMPAwEqAiEAhZBupWkTCE4qyDqeXFcHrorpy1UpWRUrWROaBk6xT0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg22ErCRA9TVsSAnZWagAAxfcP/ju10kpGh6OvPKkcCUeT\n8RTD5vcDMMSqpXynpSPKUP0Kgxz/FVUchp1aPaSKkKcI6MLG+a1fHm6eEfed\nfs5H21/J1K/+pZCFaBOc6t8Sv3pBRyzEPY2eFtNJDXHQqikfeQSzvNhTwh8q\nq3cI81MpKU+OaODOHh8LGLygI6Wb3fuZLi1nJ3bBomxiauADXlsV8liYl3cr\nOiHgMO3D8k0vTywQihBiC2//UYAZCk538joHMpBE0SxX329xwRnSQWALsuT3\nwlhXPJYhpDyFbCF1pbhzx+2+As5S77yPGOUyR4iuYa6KZsfYAQzghT/CIEhf\nM7W1SbnlpUQPHWnFqWUZJOORHhpZl8Rh0Ep3/VkRo4OvyHpQXd5a5MBdLv5C\n5iCdn+UUKz3CV39s1Ef79oJFmi/nP7h8agzFpvC2SfO5Yf7H45WNMvDUbWJy\nEWpwSJYYuAglIZcCA4Rl1oOL9XFMd77cncnB2s/hl63XJlK1qG608OPBvXAp\nk38vUVE0PsKMq/vSFyZD6tNUC5AaafDNGK/hojLp4aW0rEUalLW9dCFa6nK4\nHXBevT6HEly88MxemOeo2Wb3i0lN9+xoLdwuSibxRIH7eiFP6elJLvrDq/ww\no8du6KDsrUXjG+jdy1BlPR1u1wLDQgWX4CObniKI1J2mzPQxdnEEeR2hbnaC\n7PfA\r\n=Jpg4\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.14.0-rc0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-rc0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-rc0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-rc0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-rc0_1624989995184_0.19998145436343262","host":"s3://npm-registry-packages"}},"4.14.0-dev.20210630.8078cc6":{"name":"@microsoft/bf-qnamaker","version":"4.14.0-dev.20210630.8078cc6","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0-dev.20210630.8078cc6","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"476469e7a686b2c2cd9070ed1fbbdf36e170057f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0-dev.20210630.8078cc6.tgz","fileCount":143,"integrity":"sha512-LVotr7Di2nWJsj4dTO7OZJmFoQRv+F6HzEyJyr2cBGOXK/f4ADq8ml7F1zZ9n5ztr2Zm8XUuP9FT7HiU/v3fXg==","signatures":[{"sig":"MEYCIQCO+7nica7/wY4ZZi85gsZyBIruoRKTqgipac4k6qAkZgIhAPCPLF/S2mpJOYUQzChtWDgdm2dS/nC7ejO081Vhru4i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3BuUCRA9TVsSAnZWagAAmp8P/ArskFmL8ekiSysluhqJ\ne1YjgRblUf1DIvbToifg2nQZYx/4NibmlFz0wIgcH2ty5Np1BPapZIisg26d\nA9TrDdRZ4Sg7DAxDv8JtonaR8tjyXiIg/ztbvAEohFEx0i7WRD3GSSMOHglb\n62+/M+Ev+KdLAxtnMWlAapJxPF9ORkQq9ftp0Y1m6ao+l5xoweGW9Yhb1uO/\n1+F9vDsp05NcIedJrt8ZZUSVWv/vqHNiowcFstkyYhEU0I/CDfRyfmmtuqmP\ni9oermaPgJ2UcFDVtMyoHgbz/cBtznvnCsVj0VY8pm0NbnzDnO/N/Tl23YQ/\n2G49ZL3iN0kemkgftK7EIUZL57kT0OOfYH2fRiPwEg2Qd6MLqAm3kgPysgvm\neeNuSUMJI11Tj0WV3KEeII5ZCjuPSrloS5snjovEIjLdoJ93vnPyhP9MKgfd\nN3en8IWqFl8yVf0AmBjzrHUoUqqSulKUSG0TLSRkWFXiebhYgh2GAaK422te\ntP+XgTVQAfwPQXlY/11wdXwCoxE7Q5Snr+tuoELGkJJJauNlAYdeK6Wrav2b\n6Pz/HEMWPW0Usxnp3VvGObNZ0lE3TtbL75tWthFn2ZUadfWb2zNuA0G9mUuE\n39YYMr76BHa+uSSB7Tqfaf3bmCxJ0xJ1GX9s1U4Uh/AKNTsEy0LQcsEbRJUJ\nym78\r\n=WUbX\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.14.0-dev.20210630.8078cc6.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0-dev.20210630.8078cc6/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0-dev.20210630.8078cc6","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0-dev.20210630.8078cc6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0-dev.20210630.8078cc6_1625037715683_0.8559410872220836","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210701.be9cd6c":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210701.be9cd6c","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210701.be9cd6c","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f5363c5c2e6076549b374d9bfde3353d821f5726","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210701.be9cd6c.tgz","fileCount":143,"integrity":"sha512-xiyn4bPJNv9NvBz757Zrpt63g/m2emZouM9rfqQ8Lx/c10DOzBCSwkUSfx4FET/SUA4RBQKqX3N4A0f3nPZaIw==","signatures":[{"sig":"MEUCIQDA4gIFSojPYX4G3zavW/kILJNoYpHm60QAZGBVUPofjQIgb3OouVKlpyjjK0VYa9evmCiEh2/rKolmvlSyU9bJ/n8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3WylCRA9TVsSAnZWagAA2hMP/ipinjKrcYJqN9CEcpjf\nJ8eGWtKK6cgqgpHvRZtFnrhLcqBahtWOaD7111NALdzwrdckg6N4QRNbShfm\nj2aaWBQAgKiTbHBxezZxctbPX+80e4fFAymFlbhteNXsifmnahmTKANH7GYi\n/BEh0XsAMHhDEznX+IlBRJfi8lskRgekqIA5DVynQAlqgvGkehqCdlzFYbMu\n46fPpgrlc/b5IHMtZO4+M+mUC29CAoGomljxxDNzlHqv0tpa0SO/V4vI7Dsr\nKYzlLsMd3z47riLYR25O9ZqWUZq+o+njb+byS3v0zfC9H5Fqr6lmQDWQU3iL\ntLc+3TNtr2lCmZ7hNb4XWVC/294kKirfgb/4sVqT65PdImYKMJynf5yX4g1A\nE57Ce4y3sT63A13ZzJms6BeKu/6z6Vhzig9rXJG9Vwjpi64C1BBQP+HGAZrK\nG4eDcxemgN71QB7POWcbn6rsr0bZmWbi4WmsbvBPUvBAmlT33b/OUA1qx509\nK8VymF2wgddlI4BOYQcdsJxi88JB85TtWDo864sLyC7uszqL6j0+0E9tQxEf\nJ+TIj1t/qSmykuzykOFDo36xcqkMZ+Lyc87ZzbbCLh64rt8ohQxXj5K1zn48\nyRnIbAV9NwlYmxbDhChEbzsNKE5UQlTn58uwOE51iTGEF8arqEi9RAcYbKsm\ncGVQ\r\n=iH9Z\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210701.be9cd6c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210701.be9cd6c/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210701.be9cd6c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210701.be9cd6c"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210701.be9cd6c_1625124004557_0.7177478914479554","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210702.cbf708d":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210702.cbf708d","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210702.cbf708d","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"fc49543d21659628375c0a207a35a301790b191d","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210702.cbf708d.tgz","fileCount":143,"integrity":"sha512-sNikmzQHsBg+cmXCL+RKvupLoV37Ov+zxvxLMWqHS7IsTNgOKtcm65E371eumTJuKubh2QwiZT2OuGQINxdx2g==","signatures":[{"sig":"MEUCIEP+cQ9MOLtyChpWaKti159E4go0eskfwTCnm5YR0QfzAiEA7n13hWvOCuL2uwa02uqwZTFh9mW+f+iZK9/AVgizbx0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3r6TCRA9TVsSAnZWagAA1jIP/31yacK6/3p7CO2P0hFM\nKAjqGvhOJ6Q2sAdo1v3g3sNIgPbhcHDx0lfnIzwSHKqtXe8xMzwPEyEW/V7b\nSx5eT7P6iJYU3j14GZ9IOkO9RXogGykAtJZw8/DHN8lkPTCqXZ9T4P24Wkrb\nBoSh/aB2gw1zOs8w2GjvTC2nAZzJkywBgdnkYtDQSCp0YZXGZqEVUuQFtFOg\n9rudIl7/BQ/igK9HV96Na6R2SNhkFNs8HTgTqzXDnWfl3BmFw0D3fn6SRFtI\nWB8iWl+Ps0RS/wFvg0qjl7i0ysrdhtHE6ygU8dE4SuvdkiyuE1ToZ9JQD1yC\nvlkTwlxoo3BE+Ak5f29fjHn3phfHJOdXToNw/uDkRwc1u9ridC5H/th+mUVz\neKe1w25e9Pq8tdaH7Nmg2W9L42A4SlxqezZmUP5kqIgUu2F8obuOiKVoEUW5\nZruvVJfiz7/UPKbWIby64Vhh5IZ15taSTO/aVk+usgOmfJN0x2aquaal23Ap\nHe8qSoaVkY2FBtlkC8OY9UI60Gkvc2U4ApWlBC25PfXTy9/ERvirwar+HDWP\nQxnx86kHljWjKA7TgpFc/XQZtBuKn9ZuAUBUHvctiAYRTd+ZSxnw4hxDVAJy\nafn7RyAdJRjxr6tGMpSCzhplt76VzMmGXtbdBW22sVh/JsRakQ77qB27yLMN\nvsk4\r\n=bTPt\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210702.cbf708d.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210702.cbf708d/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210702.cbf708d","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210702.cbf708d"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210702.cbf708d_1625210514633_0.07203029598609789","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210707.cf471cf":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210707.cf471cf","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210707.cf471cf","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c3a7c07bf63d1e89befb1d9988e8460f8d8462d0","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210707.cf471cf.tgz","fileCount":143,"integrity":"sha512-0uNtn0F/zjMte3wQOKgCiaKQBRUO8t+l1Wt+pVbHeeEfqg4YBDvbhXb3ixwbNb13jzFLc3Tqf3Vqy2Uajdru+g==","signatures":[{"sig":"MEQCIEuJx4Z27Sk8at+CBelc+pf2E5KCuOJisJfKshv1/cqTAiBdPf5fcog0EAROdEPo2Mm18TnAJjVSK+3q0pXogBDqFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5VXJCRA9TVsSAnZWagAAgF4P/2LJgi8KHljsLL2fxtRV\nAjBMd/inO6070uDdx5Xk/UpgPwgrH5mAud2o7xqnLIZpD+an3dfzEErCO8ns\nP/qYLJ0/n8eTaqZR8I9etNBsl01j0EJtGQCR5LFzx5kZGY/tnWRoOi2T5CzQ\nDJ3N6W7Zmh1oU9B+u5ZnP8iqi1/KPm9CO2esHI4gSnlTZoy6xoyXSSilLZ3V\njRlHOjA5M1uDUgA+S5tJaNRQZqU3IDXjXHB7OQePQQ3fh4jfphWXxn4P3faE\nwqCEpl4WmNhvrZY1VLroe0/Q+dKWILgPT+P9ukhUv6gBbUKsV6v9NCzyO+qj\nO8UhYd1Nvd17JrndlBU8pDBs0ZjhV+YwAtD5vqmr2X87TyMpM9S+DBN/aMaE\n8DcU0rcSrlwG6UvbT1l88iVZoPrAnSVJKAHGTbqyH2Q29ljhngCHFZ6BFx1T\nAjq5C+2AQYoSJQ76xyi7JpsPJwhgTmWsBX7rD3c+xZadG8J3+fbu9La/C7sm\nTFWspCz9FhTzDEMJrYilbtmaflTXx0TLOgLvSPqwcFHnKFluM68g3yjF5azz\nhFIWL66g/zp/J2pp5oRf4YQ0rAt0CwmPFJEpy4ysJYDuW9SlPDZJtz1WHQrr\n7WnmkUbkU95r4C9WSEd13O8gEmJJx71LbKoOljS/fHH0ba+M2UlrbBQ2B8xP\nsUl3\r\n=9N8w\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210707.cf471cf.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210707.cf471cf/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210707.cf471cf","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210707.cf471cf"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210707.cf471cf_1625642441116_0.583223524461691","host":"s3://npm-registry-packages"}},"4.14.0":{"name":"@microsoft/bf-qnamaker","version":"4.14.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.0","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"51d860678fedd293a546f0400e587491bc1d6b77","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.0.tgz","fileCount":143,"integrity":"sha512-stZK7la8v/UU2jR25SI7ncngVqFL9LOEf6m4WTPEg7h+I8m11nIiy+VMyzJGN0k/nDHOUjtejhhk5zcqRwOMcw==","signatures":[{"sig":"MEUCIQDcCiWpGOMHdjP8E431dwrJ9DI7DPUrxurp+bfcIIl6MwIgSq25K32tSxTTSfEZr6aW1lnRwscZAn5HE5ajP9sl3r4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5gAgCRA9TVsSAnZWagAAXpgP/RRdKu1b9hjIZmeyXoZN\nGhV6OFzx49Md9UiavH+zf8kJkTcpdAKJjiy2dGUJq/V9deB51eY8GZjw4zTp\nQK9iVHlPAA7vatXoKeOQmCpS8vMoQ+gwJIe6mSC6ftqTYBEkZ7utnn4WklqA\nCykUALDNJg0DdDWFSDTI4PI0EuWi08TujU8HCERYI/tj66DorK+0523744hF\nlbYoT2dIjY70cxDO37GmLLdVWObgfX1QxnwypqlJaYKVaEMf3hmuvwOvOTDq\nYzq55N2ucTAJ1j45ADoLQ0dWb5YeYB2x20CwRdH025nKqMSP7uXns9tmnuMW\nQHBT4MR2RB3xVjag4ao3+7DPjM1S9sdT8m4vCzwCgL7Q2eUV1WamZMGkbHNk\nahcBEkEjec7fo2tqSiMza1DeRd38nOy5h0s1xBnJvHp10hwPytxy7LEOOZVH\nqJY6TcTOaza7umG1MNVR8H0SsljbfYUbuUFN6FPLEr04/71Y+cN4EAr5wjP0\n456VFWixNgZXvFNkbdpmaN/ZVlzM96ouF8/4oDNP56fS2kjFQMDomPrJHyPX\nBQMyY6WbKP0qKME/+qK6ij5CGjhbAEhVj4i8WYnQ7xlj8c8bvhHroNFrE3aq\ndcCffIjzRLMj/ClpfNdH95SXA18MLJPgF52SzIah7hpOBbScc1w6fjFyHe2A\ngf5/\r\n=mMP/\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.14.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.14.0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.0_1625686047942_0.8132372094426645","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210708.f16ca8f":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210708.f16ca8f","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210708.f16ca8f","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1ea3e8b25fd765cf3792e4187972db6acfceb30c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210708.f16ca8f.tgz","fileCount":143,"integrity":"sha512-SJqNNJHvAylj5YF8aZyYgfcBc6xPWVn2IlorKBBs4OxmXMjjtTt6dwiCizFUDrgONw7+UnKoFRZCJUYh2N0yOA==","signatures":[{"sig":"MEUCIEGeuC3vvSO5bHWORYrZlB8gzlTWVafDQVnmFNOgxm9lAiEAomutrOLRhrEHeRv1zksJo399kwa2MmNm9NPButhhvYw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5qcZCRA9TVsSAnZWagAAmcwP/1T/qaAFwBHN7nz3kUUx\ns4A4bJeKBXMx+SbgBxn7rCUVLrASzuyDc27Nsb64a6K+MTNm30WwnamO6Td9\ngN4JGr3CvfVnKU712/290FrxLaAocGwYptSmz8ZC+hNqWos3T6sOCjR9sSgI\nYaGFnuzYSlQm0xvxOKHTbqyF3lGh5hNdOAE95GqJr7UqAYnjPFbtgW/jMJfF\nv/UKYKuevVqU41i5+qC0sIGShXdhGzAMLYIu6jyUZJ9qJ0DT3t+/ZLIX6OWv\nlCDN2tEStNQh1E+tIJACYNLZuSu5r+Zc3jps3s/Kmgn7wDH1Zwx5llY2H9JX\n+l/2IzDd//7+HLSYSp/u/3BFh5DDD1RxdabzMsdlWx+g50FB9aQQhFNbvXN0\nfO2Sa8kJlHmuQHQHobxl6KnGicXcxS4P8tvtqusuWZfLCNORP4wCwcETtdxN\n5jMxnHSgouOTJvjzFx11zCEEIeAnR8iO5rHzST0xzP4tKzsWeswPF7TLhatx\nDgiZQ2QiAkmx4iebQKiSWKurmfSxqWUIfQ4i6YqMpp2M2A7PvFAiyEJqBLFe\nvzIoG0hxTrlZVfTTr5/cxoPefLpSqYYIv9JlwLvdLWVIlvo2BvXEJ6QBlQh7\ny45FBYLvbMqR8Z5ILsxPcO7SuqtrdLVcC+9ZyDn4eeRdFtftLX7hRPUlR2Mc\nrTzP\r\n=k+kt\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210708.f16ca8f.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210708.f16ca8f/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210708.f16ca8f","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210708.f16ca8f"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210708.f16ca8f_1625728793376_0.8299720110582909","host":"s3://npm-registry-packages"}},"4.14.1":{"name":"@microsoft/bf-qnamaker","version":"4.14.1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.14.1","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c808761733d7997e2e236b89d485b7b301ab0ade","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.14.1.tgz","fileCount":143,"integrity":"sha512-sFOtqmYK2f/o7w2Ok29bUIZdfI0pfA/2YVsyNCBvmaBzD3u3ZV0tSPa3O4eH3HubwOAtyVCrR/akSw6SLO/ejQ==","signatures":[{"sig":"MEUCIQCjJsrHzku+VbkEp3f345kmVo0I1QTcIi0V/Y+yvw6gqwIgP/GH4Dx3zJC6kbviEsQ/aDLHOVN8OCu9HjPbTQWVlw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg50bCCRA9TVsSAnZWagAAYX4QAJElnU2Tf/E70j1eVnPs\nUe1TodM3Kh5L20L6mS80iA5PUxTkkumhVrPts1vL7Z2Zci14BgF9GxQFQhIZ\nuYARRb+rduw1Eiq2YGoWSILX5eFOGFLjewIF1kr76HpXJzbX3UzqZ35Qolwh\n5YL9aXHSOQhJePxi59C+8ar/fjZBm8C3s/8BcQJeWtp/T7VMkpTSlXmlHw/r\noenDf+nU4cGPQmiOSB2279fB+GynBuKBVlQIHu5QeMUybwRY9U55pCpf52kJ\nPkU2DUu97PnzDMYP+avAfDJvnWXQ6GLgIJ3yUvQ0Al+dwuLuJZQPTxfZyVuU\nZHvCYkMDdgs/OKQD9FqB90ex6pGjNRCzCyLNKHj94wn0W8jfJg9MGpgYMN9p\nrhxLJ4/AzZK3a58eXMMXQATlGfA8Fv7AG4FTXieOE2gbRYVnVabwSeSNACuq\nqth6POqYiTtyFeSTA86wX8gjcEkYrtp2YgGI4O9foza4wMeOXxzlZ91qmkO1\nNdQWikq09wghbtK7Txf0xTi9gZ+rb3RrVkZ2TbKSOQxUCKIpLpo75P+kI1f3\nsu1Jscwqbunx9Ze4JkVSg1G/FjkX14JOPbbME9cqtXlKSLk2JpY+IJwUgWJb\noKSbRl24UQnhUSmOtKqI7PrlYCDMZq14VFC7D9qf3ZG+x1eszN4PWDuV/1Ra\nBzs+\r\n=P6wh\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.14.1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.14.1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.14.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.14.1_1625769665694_0.41445888679312737","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210712.eb38bc0":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210712.eb38bc0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210712.eb38bc0","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ad16cdbf384b38a9fa5a94ed0e61dc47cd7cb6b7","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210712.eb38bc0.tgz","fileCount":143,"integrity":"sha512-ATjjLqD4LxknkElNkZyeqpTiQhxZZ2MJXocY5tuMVLC3hI5+CkxBooD4kNsoUj0VWBEgXqYIYvWUTrlHccUlNA==","signatures":[{"sig":"MEQCIChRPO79IdVLbyG5emxottAZpCEWc3kRYTK1yu0exeIlAiBuZbHvyMQwvxCXkYzA7Ykwu1SqK/Dq/S/oqLEz5kf56Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6+0TCRA9TVsSAnZWagAAmSIQAJN8U3HcuUeL71d3B9xJ\nHUfpJ5x3I5W6jK3Z8Z0t28Zkq1UDBG9Z6a+xXy8nvT3HPWaM+ERbkcCUS77p\nyzmh3KhS+8FS+88aU2W9MBjKfIObJBASMebtCcA8MBJZs/4V32lIWYeIiEAd\n5fSlceX5Nlk5gJhYb3+mv37gdthAU98lOuiTgHGRtOdMeYtuP7sdvfiDyZeT\nQ6Az1Kf7aF3fVMeCh4zlmeY2ZP8+bf1XpS9BO88ZrsE38EMCPaNvJmSs0SW8\nar/6Kz4/1gCQRHvS5yUQwnbimaoVbbVAO4f3lkU+BkLmEUtd4UlgJpXQDeGI\nwCOpwXJXoZBDITwFn2f0ZD3gu40tkLzky2PxT5VtfSAyvMGmvwoZOUanZDMh\ni2DhQbCrGxYtqBEWGnKAm7JX+iXs9zvt2scBjIQHoQTFiEDN9fMDxKdJT2be\nU1l7j9IBbKVX378Mz6klx4axU7qxbLg5roLFbd+ZKWlOvQHDS1MqxLHWjxuo\nj1Ag0ReZ/AfCMI5pWEY9quc8aZFQEAkpRl+1mP7exiMlOAnhMTQ1U/pY6uQK\n9GWmvvzTH1Q8u0bqSYPMkKs0KI/69229YkjPzKtm0PSJfEmiVcv5WPEFrxyR\nWHeK5mM6wmfbeZMlv7xnCbcOF4Cb/hBcQ3cLx7ecwCSCzclGNiEN8RQqNyL1\nhsCr\r\n=Z4mR\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210712.eb38bc0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210712.eb38bc0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210712.eb38bc0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210712.eb38bc0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210712.eb38bc0_1626074387232_0.6156797525995685","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210715.ead1751":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210715.ead1751","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210715.ead1751","maintainers":[{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"botframework","email":"botframework@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"60c2ab5d18ad52b25cf49547ea0eda6cbbc4fb31","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210715.ead1751.tgz","fileCount":143,"integrity":"sha512-wlMeoy3aOgjQCRE110OE25aWRWQmmmOgINJOOatOnyVvdRXlHlsBHz4L4i8AvLCgo0ZKvmv8uK2s0d7nWuy6gA==","signatures":[{"sig":"MEUCIQD1Wx1sn6Wt3l30sbOlfwtlpww+KDxLbwn9dihaYV0xwQIgMxeVl1ptKfYYeCIflWJPmN8NDGRVGFxwR3tGnLn4Ljo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7+GXCRA9TVsSAnZWagAAnpAP/RY8CZnC3UX+3KPySmrL\nKbnoukElFMH12mdrRw/zgvcYofAxGUujtCEWvIgGdwZkpXpOm01AO/r5HPFI\nWW/jEfklC3Gfa/9ET4k6Juh7ALMhgNJf6i4fEEFUUvEG//UkPlbtWR+wASAA\neZLvXc1mcgB3ozumbUvXLFGimP3djDOsKZRONXESMDUKqJHiybU5SksPhvYT\nnwbcl4DqaauheWEm2apJJy2AlH8uQePIQPjfqG44zJ5h5dD0SQthRr7kE8jd\nLOgksiTzHFwJkVqad8ICoKJFChD33kMmPliGB6j68A06iy6iQMy+zNGCvtNH\ngziV4eRBXlxcfzskrR2XF8ZPz09ExANEmPTkRrCxG8KfgrW3qwtHFXqn2yqX\ndwLQ5C2+o20mAtYTY/dxvDXJ3ir06NqE/cnM4G/xQ0mQk3RORmIFXSeR3oNe\nZuGYygykoQn7gYVauQhHrX/RIcGRm9HVEtLcwkmQZPvTE5XBSTVW2tQ5HL/A\nErZnJniI+JgEVoaNr0e9TkeEplgLaJITdIBw6rYfdr+NuYjHVOFZvG4tvZ99\nfMBET+eAJFU9I+jWLss0gpf/tl9WJJGfjL8k3K6L29pPdBhLxr52ejQWp6WK\nibTwR2/hlZ6GWOWxbJjKreQDiNGnCxnH7mX437q8zhQNrJ18TkMKZ+wRowJr\nCwLw\r\n=zl3G\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210715.ead1751.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210715.ead1751/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210715.ead1751","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210715.ead1751"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210715.ead1751_1626333591015_0.8382105065376078","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210723.bf1f054":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210723.bf1f054","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210723.bf1f054","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"65e34086365d3a161e2c44663f5c56967ef511ce","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210723.bf1f054.tgz","fileCount":143,"integrity":"sha512-npNWr6sRN3j6ZAF1qCcuo5jh0d8uam1z9TcSMrVC/h3yfmC51blL88n0s58PWswGDL7md2e8rdu1MiHvWYuSyw==","signatures":[{"sig":"MEUCIGngBu5cMc41nqCwFdQutR1QfAj2XHmlWXalBGbP9UH8AiEAnj8tZlMxMl9L6TyQMOsYpaBrPw64VfvTiY72+PuW/uE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+m6cCRA9TVsSAnZWagAAU/sP/iHn0E2DzLcQF0/n2pJE\n9gqdwNb2eqdjzQ54l/jendDks2NrTgz9DURzikKYK1TnBDeKkXPc7xrp9P+5\n8dRV5G7+Aqy//0GRkWLbifmWiX8aTby4W+eyMjN9ps8u8v7a1J3D6AGT8+UA\ndlEiaa0aIP2VpaBlJx2olgTswWjNYEEGlwbHAwCDLY1IKjlncde9veHhW05T\ngTV6KH+vWGxrMwcyfQiG9FXZm1ag8Tr19Sq96IK/MRn3Z9Fddvtl4aWfuK1Y\nyHLn22aI30L4mGF8mu7rVoUc+7g6+12+FeKAtdz5tfRIRMbLCt/Mg5TIXCC7\nVMTYBZ5E/fJjx8yQRX7tekpT4YEoo3wMK96tfXltpaWjsBdxaYYKq5lZa5Cq\nL9GKGHY9g0tPBrxYxM8KsUJ8d6MXsmA/nJKW+lDA76z4Blmf/E4VI7w7cbdY\n73DhmhqN3K41etf7Jx6nTnov8vTxp+Sc60LOzX1K9RhUh1le/jiIjfHOBMK2\nb6IlwwfxcBb9nydnhWYKViWMYvAoPmvxWZpf/PDtFOEv2j/aZ2roPPiYaSb3\nsGTgXIdambhSwVkDIx7EGdPgB4t6emVsnAptrlkyEuVCgEikVvnyZqHkvkmQ\n5d0m/WXoSfyKCZIr/in95uZ1kd7pdoT7GEs8Rhd9wNpiVnbPXfKDmHMSZshI\nXglU\r\n=Ou1W\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210723.bf1f054.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210723.bf1f054/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210723.bf1f054","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210723.bf1f054"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210723.bf1f054_1627025052312_0.14298152377197204","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210803.40549ca":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210803.40549ca","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210803.40549ca","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"3c8674c4dc7eab0fb9fc7c16ced95a12c11e6bb3","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210803.40549ca.tgz","fileCount":143,"integrity":"sha512-+vAi4qloswIDWZhs/+t4V/hyYQhKkxwk1Vm8E6Iw2rSGRs87CyHIPXKNzW5cL5ZtmA9zppPDXcUShdfVeuwUcw==","signatures":[{"sig":"MEYCIQDrQgz1lf7Tfz7Y63bvwOGTqJlTWQbHjW5s6qISgWGArQIhAO8Yv5KefuJsKsycF+FAqBFXg9fKeINEfbISW1zb9q5P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCO6qCRA9TVsSAnZWagAAxdUP/2sQQ0Z6F/yUKqV4z1YA\n0j2XijPUqdvoA4EoN04k5aKkOoYxNCfNrKgFvM3zfZcx15sPvwgWrIrYPluw\n+ANjtBWPEup0A1WLVEP1kOxcU1GywyIrb68d+DmnQjxKjgHetl5GmCYbI5Vk\nmVOM9nsvDwzmbLOOZUtJX3sFQobOl5N3MJAAL94Hv3mCmYRIQWcRDTvtFv2D\nr5jQPJapi4tHY2wAvVHe2z74FglZ3v57heATzkOREEC6XGCPBoKLPneqg1s1\n/1ffYbSA/FzEwQuwLWyh8NAL74ZFIBejAoWaovfJ7Us2y75ktr0R7o2SpjTi\nBZ1+WxTz6nRXrx+Iy7XfwTEFE57F/n98mlSEwzUxJgmYIQ89UnVPsRGwoMRr\nMerlSj/U7f2yccc7L43Hju7yib5aFqdCJKeo/GRXEAZcO4PYqxPLoafcfxWV\nenVcc+d4VFMa3945CBZCpfsZeOkYOrAT+VyyqWRszt96nujHTnuGAwogVMlS\nMicLh6DtjGfbpugbPe2tLqrWIWRVZkJv7D68ca6MOka08dIBR42leWosOftk\nMJX4HClZSZGHKsm5OBUQ4Ml/c/OcE75nMoul6Hq73dNQsBs1Y8AbuVm3ojTW\nj147r7VvEBItGqKV4WmeNu25zjqQpDg9sjQUbemOUVIs1njtJ13Lh4xZUhvV\nu7kf\r\n=8AZo\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210803.40549ca.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210803.40549ca/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.13","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210803.40549ca","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210803.40549ca"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210803.40549ca_1627975338487_0.5834118899102152","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210805.6321dcc":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210805.6321dcc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210805.6321dcc","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"b6782073a8534dff1bf68ca66c04ad893259cdfe","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210805.6321dcc.tgz","fileCount":143,"integrity":"sha512-Z6mR8UuBJOLl9T4tfzJQJLjci0SvhYRGbftRKJdu/CZvWSXJPatR8YyTzkz3SLKOq1taFjiY0dRnIcv3nnDMTg==","signatures":[{"sig":"MEQCIEhN+WXF/UCl/Q0bHI2qKpC5Qql8Mn1pGb5iSQeneIwVAiBUfVCtqwQ4FbSAuGDDMRPeWCdvIwItqvriBobk5oo1uA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhC5FOCRA9TVsSAnZWagAAqrQQAJbEVWGJFjl7CGDnYIlC\nxAaUl6InYFpmMQ/wkYE+u1YYvygu8cLW5Y8A6pofRQYkLOJz7c8YaXj7Lz/4\nbErsDdwRJRqtZop7ZrpU/26FrMXTKmybr7mf2ToW3hK3rIma0QIICv/sFs5B\nNtTJpjlsGBIxBNRk9NfYHNm1PdjqaI00eeKUD5+7DAEJzZ0y44F+PC4mpbyk\nsouJ/1QYVONvhju0cJCWi8lrvfsuR8CmGo4i7FRy+80SVKEKK7nShaGFTcHD\ncXyiGw1hFxuVOdwVnNWJnlUElTn06JAvrQD6ChnNnnefMf3A/Qc4M94s2t4u\n9cSUrToPIWc+tJosQI85YW02a55Fr+tol1YE+b5pQYGRTJnR6XlxD9WcFhHh\n25YizilKDofoIHd83qriAhrtyJZlKGdiwkMcg3EXMqgV94SGudByFZXhACVl\nagWR7pkun/yv+x0xpcgwjOXoQzw3a+C+Qu//lQih2/RK5/jH4i85PGaWUeIV\n+L1X15urVcMliuUeh+tKfQD9nuDUafdyl/eyUfUzP4hx3Nx3C3/77FF/PYun\ncLbgnIwj3RGEpzzhd8pBiK1ix8alpao9CBR4O/SiC+r+ZSqfUJQ1cgNCs+Dy\nuZJHhuDrBwpDB+cF8c3fXrJRYhZBdt3XDk3jD26okPV2iR2T+bwEBTQ73bs6\n6cdi\r\n=pV0C\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210805.6321dcc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210805.6321dcc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.14","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.4","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210805.6321dcc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210805.6321dcc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210805.6321dcc_1628148046766_0.5610487286587198","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210914.7a936c1":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210914.7a936c1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210914.7a936c1","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"c52cdb7075ed83ac6574d44d9a0cb921040b101f","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210914.7a936c1.tgz","fileCount":143,"integrity":"sha512-7gLOZtj/rvaqZSkjb5CqFx0nKIrQKZywmUZTGWL9V0q0th4JMRN39S08RwjuH7a3XIQ59vdBoiDB07JF0dVXXg==","signatures":[{"sig":"MEUCIQDple65b7u3mSxR1suoKqJjaVaP917P/ZxKG9nBJ+uTlgIgB5GsgMK/NPF9/MMZi5gQGHZ6Phx1wHq5Dy42jmv9vqk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQE15CRA9TVsSAnZWagAAsj8QAIFEQbui3eNj85h57wnz\nZa+wFvcRjUkF2jquyWu7YdEy9eQPQrfYxNkov+GjMHBWSsu7IoSAYQOOLLIL\nvyLDtjiGOlGCvaTaKzfCuucmwZYg94ZdAuscDwLrWSHSAud5191pR3a7C21u\nm/6co5eMXV+uiaWAEYfW/7PQYyb2vgIY66yBaNgs0smLpwgbipzS+OqIR4Ue\nvZ9FLac8O7LQgeKesGW4GWtCPk7ApKLRJ0l9p0pTDdx93GeUkSQkkazHxikd\nZSHaGoirduAG8hCo6tC4l7tFXCdgAV/H6yB7fw/8zO3HIFnLhC29GaDPSKoK\nhQkYyoTWwzZce4cyG3bwpjaguNl9wVkChP+PZVEg7K0EWAWcB/adDuA4TAg2\n8B8nVMw4SwiUne5Ur8csAC2oATbPJh7kaqIXP3aN55jSttBbOI8Ft+HW6Y4q\n6+hkh0K8z495OgX9goB5NMiIrd4OyiYBE/E2ejmZx70So89nQXkIfWKzagnK\n4tuh1mRpnUffzFoDf+mfULirN1EVnaMoWHVs/fKEY9nSsvpCQRp0N9YhN5kg\nFB5IWwxALdEhxGVvRw55+8HLPdZgR/VJMHvBdBN5pEdrKqdMTiDE7fnbHDXj\nQF15brO8dg9BUjvHUgwWyJqf0id9XY7ADYqoIXA+qErQDzZFTd1/KFo2qfs7\nb1ly\r\n=Dh42\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210914.7a936c1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210914.7a936c1/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210914.7a936c1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210914.7a936c1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210914.7a936c1_1631604089663_0.8612073169853396","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210917.b688652":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210917.b688652","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210917.b688652","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"eaf2d770e1e6aabde770f8bf15ad0018b9761e5c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210917.b688652.tgz","fileCount":143,"integrity":"sha512-amU6ON4r5eGyFnRObdcasOCeM2XIb2F6e2dMTLSMikQhUoayxnlonQYHqSn5+JohanopGgM/K8ZujQ6IDhBDLg==","signatures":[{"sig":"MEUCIAWuW4go/M+28TGfkp+nyaPj/bUcBA9hW6b6e+7tl70YAiEA+ssiCBfTMdoSgOorWaK4lwzMN+ByvAem4GzbPkSrG6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhREKaCRA9TVsSAnZWagAAB5MQAJukKvafTxIqntrgHx30\n/xqA1hrXqf3LqZnkogCikF/Q5GodJW1esp2Rk5ElvVppQfu/QRnFk2KL6OEF\nnyXTQyJV2pn4axnQEoTtJwCHvhENPVNHSYg/PwQeqwDKvCzzgiUaaxSF9a/u\nOL6WISfBIp5q/fak325x55GB0mvjdq8n5QKdJiw9ZcDZ6+nv8z4cVD1dbV8k\n59VuIv26bmy6/QkVWrAtVyxEikoQrHbYGmOiKsJZhYv23w+FRIU5oFUsLpcn\nGiZ0eYC3IN0osANRTTgM3Q7/RxHwxtQOjK36dv2Y46L3tImj5vOBrlDc1a20\nL0ytkmogu5LEKMryIDqGoKf26uadzVEzxJfMKxDmihFP8JNYRxp4XG8cNfK3\nr3FkIVOubgmaDMFQgRCLHwOy+9QPU6A2Tc5qmZx9x+n9HbwOSSSyfBxANeDS\nrPFmMckIxH/qIzejC6i1+/mkGEW0f/l/VJcC1Y2bq+bc/QL1e2tooH8GHLI7\n4A248mBwinK+nTHMTKbg/D0lpOXBLIg3TU+GgPAPM6Z8v24ALeAaF5Zs2Ubo\n0PahhSCE4nFWx+oTDt0LKsDmJzCCR39ascMG+M/hRLmGNrMJK27mZpnvSEDz\nKlM1vG24B3WTc6l+vo/a5uEKIG4oI+dSStSOGjsohpmyDoree0DrvUZZJMa/\nzKah\r\n=tbUG\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210917.b688652.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210917.b688652/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210917.b688652","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210917.b688652"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210917.b688652_1631863450230_0.09642546976601363","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210920.e4d38fc":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210920.e4d38fc","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210920.e4d38fc","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"06f16fd1f8aa9703f24ad172c17272158bb07e74","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210920.e4d38fc.tgz","fileCount":143,"integrity":"sha512-iBVX8rag8Pk10QMUkyVWrA5wOQa7YSB2lScqUSwdKkDwYitbINiA6ICUIUF2Qwfrs8JvjQPfPGAf3s1udGIdnQ==","signatures":[{"sig":"MEUCIGTqUoEq1qJoAhlagmASuXoV4380BWhMTjOU76jN54ORAiEAwXJG/qfd4tFZ9Go3VSzDzrzOWbGrXMRm+ZhymjxuhU4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210920.e4d38fc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210920.e4d38fc/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210920.e4d38fc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210920.e4d38fc"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210920.e4d38fc_1632122663058_0.7517097757372737","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210921.fcb2cdb":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210921.fcb2cdb","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210921.fcb2cdb","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e6870525059f15e32b209d7fb2e120f50b63bfa0","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210921.fcb2cdb.tgz","fileCount":143,"integrity":"sha512-MC6q476p3MPSt83OidnP65RbWsw/yNjlK/Ao/qqBfn/sQrqGcF2qT50BNHF3w5qb9NnCOfwAqUBERzQd+axkfg==","signatures":[{"sig":"MEYCIQDEy6q/KVoVJ2KdMbkufK/OCkX7/YwX4Pv/uOJqLjgv3gIhANZRMPBBuKqHqZ1+/fv66Oyd0YwAuui6DcdCntyv4GDl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210921.fcb2cdb.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210921.fcb2cdb/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210921.fcb2cdb","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210921.fcb2cdb"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210921.fcb2cdb_1632208996986_0.5979039636408829","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210922.c1c0528":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210922.c1c0528","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210922.c1c0528","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"0658e24ce574f67a5b98233385f395cb08d07f5b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210922.c1c0528.tgz","fileCount":143,"integrity":"sha512-gn+XsWTf8wU9FO1iZTeUWQfs3oFRQIdSb+rW5iW1pj3LCgXny6w9SzdELsuILv2OhZ5vh7dB55uzpgJW929fZA==","signatures":[{"sig":"MEQCIAilSu9OAP8uw9tWMC4hVpd6yXobQxac/cuFDP2+9SbeAiBLkF6x846xdYt2vHhp/nNJOvYxRU5a7j2rFkN3sTs0wg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210922.c1c0528.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210922.c1c0528/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210922.c1c0528","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210922.c1c0528"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210922.c1c0528_1632295348172_0.7777476215222219","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210924.20a3f98":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210924.20a3f98","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210924.20a3f98","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"5fc26a3c6388b3a9382755c4a95d8c146460a486","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210924.20a3f98.tgz","fileCount":143,"integrity":"sha512-uivesXfza4DDGOIYgTD8bBD+HLHdJwlEe0pgbaYWEV6TyrKtQtzm64Edih6cxFBBBKM1cojAcQ/3fzEc84cBpw==","signatures":[{"sig":"MEQCIDfn2wFUZ/QElcdUn/w/jr3X4ZYsnlXASFdutnGLBxoeAiAx3fEuR7DbaBPHBusLfFlIIYU+vGGAXOhHSCIagZsq7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210924.20a3f98.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210924.20a3f98/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210924.20a3f98","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210924.20a3f98"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210924.20a3f98_1632467973903_0.25195709529624866","host":"s3://npm-registry-packages"}},"4.15.0-dev.20210928.a9a92a5":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20210928.a9a92a5","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20210928.a9a92a5","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"74bc274ba3a4a25015aaa34017d229858198f61c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20210928.a9a92a5.tgz","fileCount":143,"integrity":"sha512-/qvqpf4S2LMxvQYyyqT3FwVpvJ9q3pQCV2eClPvfHgpy9wSRzQZzLr3CJnql+FfI9qso7+hK8kL+Vb+9etJLAw==","signatures":[{"sig":"MEUCIQDREcF0Jr0MHfz1/P06rlTSlTmgeQltvBaPlsYVNHNciAIgJ8EnZJXK2fq57NKxAUjL1CSANSnCmSGqPKKV9fu8y7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20210928.a9a92a5.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20210928.a9a92a5/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20210928.a9a92a5","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20210928.a9a92a5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20210928.a9a92a5_1632813780538_0.7027867338000169","host":"s3://npm-registry-packages"}},"4.15.0-dev.20211004.edcf63e":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-dev.20211004.edcf63e","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-dev.20211004.edcf63e","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"803fe577a51345e548ef6e6805857e49bfb4ce57","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-dev.20211004.edcf63e.tgz","fileCount":143,"integrity":"sha512-s14eNLXm0DFUlrDKBsPgvLsLJfIrPOr2Z1OfGB13xlG97bi0xeiFCmH5ogsMjrFqPuvLWGG25hFXc5fyEivuMg==","signatures":[{"sig":"MEQCIFCAHdS5X3O0Nr4j3X7Ef4H5LP0CHjsamHvTfAhzaqz2AiBQ3RriJKgsLxgtq2r8MNKBfuKwgUtuCyRoS4JBC2qsbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.15.0-dev.20211004.edcf63e.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-dev.20211004.edcf63e/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.17.6","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-dev.20211004.edcf63e","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-dev.20211004.edcf63e"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-dev.20211004.edcf63e_1633332326954_0.3137064894678776","host":"s3://npm-registry-packages"}},"4.15.0-rc0":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-rc0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-rc0","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"b1dd2172dc2b5d48ab7d960a7aa626b93f418384","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-rc0.tgz","fileCount":143,"integrity":"sha512-FfXk7VMkP51i/5wcedu27WxTEat1h32P+tC6BisMI/wZH/coPNW8yzTR6Qhlhp+IhmqMoNANJZ7PTC8E3kLUoQ==","signatures":[{"sig":"MEUCIEyrlHuYDT0sUG5UCOQBzpdujbIIGQBw9n5AcYs2w8lNAiEA2u02rI+2flrWGZYFAKl16xLPEdUKqCDN2JlkDf5LxGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284180},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.15.0-rc0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc0/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-rc0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-rc0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-rc0_1634338354903_0.45806498616568936","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211020.406dfef":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211020.406dfef","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211020.406dfef","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"f026bd3b72c621752b15434ea11967d653da0b41","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211020.406dfef.tgz","fileCount":143,"integrity":"sha512-eWbKNks7XrMC9/KzPTBEE3FYp8pp9zygOvyvkZuaW/pzGVnHJHdgQiEsD6SEHo0twTQBcP8rDW9WgyibKcVC4Q==","signatures":[{"sig":"MEUCIQD7rPlcbWblav3csOa/zWR/L9VYSxhMJMKW/EGPNWUl5wIgAvhXFU1Rm8U5DdaWl/AEHwT689H43nUjxk1gCPDi67E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211020.406dfef.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211020.406dfef/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.0","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211020.406dfef","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211020.406dfef"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211020.406dfef_1634714641675_0.5925948245541517","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211101.bed3c05":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211101.bed3c05","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211101.bed3c05","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e496b0c0b3ac531c1425aeac9ee11989033e8172","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211101.bed3c05.tgz","fileCount":143,"integrity":"sha512-DF6AV2Sk0tWO5gIsS0dS4/LUKjQIR2RtfldHveL9kWKwGVmn47APK8c1Y9TXNwUPwH1VWME1wB/LeAfo8NPK1g==","signatures":[{"sig":"MEUCICzuv2SpARghMMUStRtHicGVrHLMYJ1N+BVmn/5S0GORAiEAyRnn1EwiBP26pusk7KxInH0Md8y7ei4Prkq4HpTpMBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211101.bed3c05.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211101.bed3c05/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211101.bed3c05","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211101.bed3c05"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211101.bed3c05_1635788148694_0.12030990360520932","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211102.bed3c05":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211102.bed3c05","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211102.bed3c05","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"baf62f983d50b9d8bc104dfb20423999c47ab2e1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211102.bed3c05.tgz","fileCount":143,"integrity":"sha512-op85K/KV0kZqK4kxYqXOB2QTjzwXlmIl+lXqLzxxtlOhHopKTPzBEbhi53boS0AssycVHG+X7Gp03scsFvGrkA==","signatures":[{"sig":"MEQCHzQVEQbMqnvZaheBpQ0IcVXrHWY7Vxfv7lI5EGRasA0CIQCUYItxmTc6rJCT05XlfBOt5fGdQYS5sMyYzQtXcyBLMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211102.bed3c05.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.bed3c05/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211102.bed3c05","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211102.bed3c05"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211102.bed3c05_1635837898148_0.32624739200722463","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211102.3f7a67a":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211102.3f7a67a","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211102.3f7a67a","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"1ee8305d4f3670c35895e2b6599c3dc30b66542c","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211102.3f7a67a.tgz","fileCount":143,"integrity":"sha512-hWbsZI7+iOpsXzUy6KmKdFLUS9HAXxnLrJmt9Jopn3BVT3s3C+welAHqu1S7oediPjArqWUG55Mc7xEJyGfWkA==","signatures":[{"sig":"MEUCIQD1CbP32k/fTlbP+9tKijAh8+caaJNcfWtXsd2pZs6sfgIgSNTpDXYzhUI7ThAWThZnN1L7HhZzp6GGwR0Psdj4gfw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211102.3f7a67a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211102.3f7a67a/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211102.3f7a67a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211102.3f7a67a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211102.3f7a67a_1635875312038_0.6708361353480516","host":"s3://npm-registry-packages"}},"4.15.0-rc1":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-rc1","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-rc1","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"298d0f73d29e46c2f3a18c7283179a40fee6cd94","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-rc1.tgz","fileCount":143,"integrity":"sha512-ZZwEe3sW1Lxh4aAeIoNmq1b62TYYb/YKB20EN1cQdHanmrX8u2Z76JSgrXdd05UrVx/v3p1cc1o+V7JiL2Ml9Q==","signatures":[{"sig":"MEUCIH7SNq4C4Jflz/pzjQvcudnseieFpgcKJyV78/DxpAuPAiEAlkn7fddHqx56sBdlobQHhfoYegfiDFysiuUBVIXALjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284180},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.15.0-rc1.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc1/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-rc1","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-rc1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-rc1_1635895061275_0.8537751518514949","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211103.3f7a67a":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211103.3f7a67a","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211103.3f7a67a","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"640430d07018178b51204de74635b63ad2a56790","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211103.3f7a67a.tgz","fileCount":143,"integrity":"sha512-KwogyqPgT7I7zeuGRJ0peuM83f9apf0arP3roHENWCaFYRzzVG5Gg8eW8IlayCNPRfFJGFLloa9GnVN4rjYzGg==","signatures":[{"sig":"MEUCIQDjwOgzHrnZkvPeoeeH3ZUBCQBXaKyxupI4PN/8kWzbAAIgI46Z/lNrBllTk113kCnvyDKLXd9B0wlZNevgvX+Fy+s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211103.3f7a67a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211103.3f7a67a/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211103.3f7a67a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211103.3f7a67a"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211103.3f7a67a_1635924032665_0.8824089931580623","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211105.90655c4":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211105.90655c4","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211105.90655c4","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"6acf0aad1caec01ec5d7ba7e5fade92f038aaf8a","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211105.90655c4.tgz","fileCount":143,"integrity":"sha512-B2sQM4ieBTG5o930voCEIcXDoZ50thDOkhPJMITXtfXEXCdFB4e3GjQekrZF723hrk6G89in2ix73bPYzxKJpA==","signatures":[{"sig":"MEUCIQCPL8CKFhpzpYOwPpD0DId4DxWbGAIqq4mgwdwQnENsKAIgNyfdHcFs/wCrIojesl+TgrctdGFHMktsSVs7vdvuqnI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211105.90655c4.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211105.90655c4/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211105.90655c4","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211105.90655c4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211105.90655c4_1636097108147_0.16995605766474164","host":"s3://npm-registry-packages"}},"4.15.0-rc2":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-rc2","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-rc2","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7016dc3ea7f6ea9231f5fc5077a7f1ee801a262b","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-rc2.tgz","fileCount":143,"integrity":"sha512-ArmdJaLVsw79F3JFlDDFc2MQpCteQI1eTQGim5x7ss8jrWlF6x5D2GgY84UPrvR/9a55XI9qWxzKuTt+0rjcRw==","signatures":[{"sig":"MEUCIFsI+EZkjmjC2Yrw7Ku03E71xwNgeyIW4f1X4p57/6REAiEAic1yW/2dFLxbMVQDnbw1x26qJWI2oEYu0EA0rXptbB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284180},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.15.0-rc2.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc2/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-rc2","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-rc2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-rc2_1636136501719_0.07617210838191557","host":"s3://npm-registry-packages"}},"4.15.0-rc3":{"name":"@microsoft/bf-qnamaker","version":"4.15.0-rc3","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0-rc3","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"e56036a4e0eed68f3e5c5db7297edd3fda1bb6df","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0-rc3.tgz","fileCount":143,"integrity":"sha512-ovVQOVk4qcapw2q9BjQsuqtRjA13D/fIdfJG6zIyN1La85v9gaDpIWF7C4MuuUp9zMF1FuJNALAYtJpaH7cYUA==","signatures":[{"sig":"MEUCIQCaQyR9lU5YaMD5iqqKteWPRAyO3If7ekdyrw9Xt9L1LQIgYCcM6oWXs+uEvbedDAIm0smY8I0NwFXkl9IVImJCmE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284180},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.15.0-rc3.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.15.0-rc3/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0-rc3","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0-rc3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0-rc3_1636587639631_0.03965859453378129","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211111.15b5c37":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211111.15b5c37","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211111.15b5c37","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7a1b37491aee68702e7378db2449182d13ce6fe1","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211111.15b5c37.tgz","fileCount":143,"integrity":"sha512-xG2GOwEKOUF6Mm0+FPlHEbVuZq683PfXKkJQPQH1SNfv3xPCPD3NAP03t6VYhOmZkXYbdP2xkkpGUTNNKVayeg==","signatures":[{"sig":"MEYCIQD52u5mcNHRrXxbchGTQy+QibBaDEcXR/+zLhdZa1jGgwIhAOKcYaveUQbz68KpTDsv3HeRwWhsBm3QfqvrU4JrE5TI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211111.15b5c37.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211111.15b5c37/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211111.15b5c37","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211111.15b5c37"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211111.15b5c37_1636618960705_0.7490088508367791","host":"s3://npm-registry-packages"}},"4.15.0":{"name":"@microsoft/bf-qnamaker","version":"4.15.0","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.15.0","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"ef03fc3d8fc912c75eeb1ce9fdc29291d16a4f13","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.15.0.tgz","fileCount":143,"integrity":"sha512-tCVosA9fIh5OouFFpT7JGIZT93jakPmQgFQJbq576yszALpu6NlziSSzXV7MlwVTAOrvhpgU19hFER1EwYb1IQ==","signatures":[{"sig":"MEYCIQDxvEi4j1Q/174+oRXqryco8uE6Po7fkSdPDazrRIf0cgIhAIHlERm0IOUX6OpZV/aTbaeu6BHF43EiGpbPswMsibF7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk+ZfCRA9TVsSAnZWagAAJjYP/jllwCZo7eJLTd6fz/AC\nvlYYmN/iYpxpjkz6WdGjyodT5Dhqd7U5xkDLk2ySClV4tTZyPQCK0DRReG/A\nFsjqg14gIygxs58U+heWkV1O0n+ENjPKsw78Bwp9zIOV5PkmiMX2L9R7dQhu\nFbH6r789NnUCytLRZinOb7gAubsgMhwtI6cvs61poGDYmTl+++/ctDeFxG5L\nC7IF/2ZieBYky+pjiXrY8L1nEBanPrYveiMqaFFh3yCaAnC5Nkg61auydgIg\nOA5ldXlZTTpfR8AGqz40Bc6E0ydZbOdxl0a6544usdriFtzhKxKhnMjb4bFg\n0prlW0k1HY3Wg3Ra1SoFGVFaN1udxvn/DV0sLLQHaMJinUGALvv7fEg/LT/j\nDqTPF64tqlOw0PlOX+Ud8NSfCZZezz6ejs+mVvo9pNd455ai0Hr8RubNlm5w\nU4b3GfW6erNnEQ95EkeGiEjXWYwvmQMBLeTaeIvxKmzsOaKAXLz/jRd6HIQ1\nQai2gLiO1QjDiAjiCJ2LG7On3KHTXVjKtAgGHNK528vbaCIAvdR2odxXYPyg\n9LumjY/urddCVjIWnWcVxn5q9PxYa4fuBFsS1vLqeWuWtOmUgxc4Ys2f6mu0\nRq0yTybECPFWhv7N6TGZu/dGpgkYtblzr0hTv2MIwl28SdAI0U35yIyWMtOi\noAU0\r\n=WDfn\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-rc/drop/microsoft-bf-qnamaker-4.15.0.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.15.0","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.15.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.15.0_1637082718860_0.8503905064349719","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211117.19ff452":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211117.19ff452","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211117.19ff452","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"7e6cb95e00e616ad52e83d783e9b50dc82746746","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211117.19ff452.tgz","fileCount":143,"integrity":"sha512-uKJPRxOAkw8tuUslgnCduh/cxs/3ZofbbUhUQJmde35UbaIkxcAtgx5PaDINc4hM9gy5Pceig6fLsX5hrXbtzw==","signatures":[{"sig":"MEYCIQDxRUrN1mOw49KKvBdiEnGRwlI6MzseBR8eWb8Q/KNzfQIhAICcG/Vpxr0QInsrUIOteOVUpkYxRyBWWC0v7o0eVsTw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlLwhCRA9TVsSAnZWagAA8+UP/0A1kRY+opeyJoumGsUu\n9S+1BHhXe0QByT38ZH7ztm3Du9EpXwdBhk5oAImWthTfpFKSpwUdK7xvMHQR\n4AYfL/uBtEQmZGFoxYcNQ5/BhgIasVm6lcrDm7pjwOWOmhOYK6bxw1A6+Rpn\nc2R7rsR17Lk7FUvtT9BGrrkrPdNtM079TGa66f2z0zixtLCcmQ66F0AYhvbg\nSqVsf5MroOKmmfjQ2jTspBK10mTvqQv1hVDmqJelLk0q/Ge6umlS5eX2ZZsW\njZoMs9eLvCDBhPp8YqhbZ31qd8CawPjRJNJ089Z+vwmEVNftk19pjyCLa+Fm\nkIiDZ4NHlLnVGnytEsVfDFB5UQ1WvXQcl4WM6ghoy4uPtWhGeA6FkSbwiveL\nkV9wJoLEYECBvlmUpD+NKk54ch1lTGpT55ClkSYu/Al0yFCZpZ2b0rPzgnAT\nKeTXhYo/f8pRW08xstRG5HaNHAUbqEh2PkbBDUM07MBiZB5CnFa8l4JUmjI/\nijE59KzpHj2nSFc4ncMgKHBsJlHGIVylYh6m9j/QLawpYJU4Cd8RPRUPgZp9\nTx7/V6+lHH47uSAAiYontv89e3HH/2YnZWoJnvDt2L9nHOL7gYEeYxpUzqJi\n8TJPouLVU4I1OmO2QLxU9iGzce5Mm3uGt/lr9T3RCsjY1L1cDd0WtevGkgtD\nyIv2\r\n=7Ekk\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:/a/r1/a/_botframework-cli-daily/drop/microsoft-bf-qnamaker-4.16.0-dev.20211117.19ff452.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20211117.19ff452/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"","_integrity":"","repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"_npmVersion":"6.14.15","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"14.18.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211117.19ff452","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211117.19ff452"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211117.19ff452_1637137441227_0.9496268480704808","host":"s3://npm-registry-packages"}},"4.16.0-dev.20211220.6972973":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20211220.6972973","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20211220.6972973","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"f3bf6ab7360b7b8b1ffcb58e806809d46effa846","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20211220.6972973.tgz","fileCount":143,"integrity":"sha512-m5hQRuT/caTUoP1AeMk9U2wlISDr4UGsPKHL7Zb3uonj2ZEjPH8HaX+xHUrVlhgutr8rq3pC7nEiZ09JZ+GGJA==","signatures":[{"sig":"MEYCIQCqbP6c+axbz/pRXXuTm9j1KyR8aqPPOgLB59hKbE6yUwIhAOq66/TlE2PMXzBwZ4+SymRK1px0mFiRfuECH7XQxIn8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwD2+CRA9TVsSAnZWagAAg5YP/1KJxTp+H4Wk2mLzgTAA\ncjFJBIvdzZ5N3WDwLwIsX+QPJ3pda4RYHbklDYiwjz81oLqblkI/8IgrAMki\nMbDF9K3IP4Dt5wTLqS//TYtU9V1ZOpdvS09o5dK+T4lH3lOU/dGn9/pWM6qV\nwUrNzYGsw6/xU2NJsmA/ErMqawepGuQrBp5YNxFRpmhUsuYkGzz+gYut+zT6\nYES9IOy7I+EC29840bpnl8kj+j7PH/0axmaMfbjswB3l1sF2erhiyDxAlyt5\n1cfGowEpkaQol5eARI6SWcNFIm5XM/1lPZ3tR3uGR0ab5RqAm9U+070qxNtc\nkxfJLsGEDYykEHJYWa5uriuqW6s1OkhhYw+b2zXK7dfbGDFMeTG1zResyu18\nWs++t4e6D+eyZiDerf4ISZcLr1lwSfMh7AAcqNr14Rfu/q03Qgp9CerzYT0Y\ninWFf2LCIc/oYnQyILdUEqsGfRj8oTagyWkUWJws2ofLRXwWTM7Vn9U5Glxh\nIoaQpXW4xJj7Oldr6vdJXiU9pqzz2iqhE9hIuKFINVE2Rn2VTajh1mQv1aih\nx/dXbsmCf8ByX17nqyosMBn+JuJ8EcPtBkARhWXW8/dFb8lUIWcrfOP5BA6I\n/+R9iYKhapC6h68Z4ncPLLaeSxoIRahdUEvCdYAqvXviAWYGELYYEcy4q4hK\nte3M\r\n=/jvL\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20211220.6972973.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20211220.6972973.tgz","_integrity":"sha512-m5hQRuT/caTUoP1AeMk9U2wlISDr4UGsPKHL7Zb3uonj2ZEjPH8HaX+xHUrVlhgutr8rq3pC7nEiZ09JZ+GGJA==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20211220.6972973","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20211220.6972973"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20211220.6972973_1639988670188_0.9788814765365994","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220104.33b5e0a":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220104.33b5e0a","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220104.33b5e0a","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"1087374e566a0b2bb82fcb5d7e72ae2230b5cebe","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220104.33b5e0a.tgz","fileCount":143,"integrity":"sha512-r8LtJQK0U9XHwjl4CyooxlCNXVUtH1PWoFRlWEqLg7llaB/tuCKbJLIed/r1LHTG2RzKf1gJwulNOEOGSfuBUQ==","signatures":[{"sig":"MEUCIQDmrZn8ErLWBgMdIrVjaTHmbm632twQe2XO8xHb7fXnNwIgbiNq83TUz01DlVHmqDmxHWZMGdX2S2vQvfIO4YVViRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1AQuCRA9TVsSAnZWagAApCEP/3h3GO490t8GqyOPwRBR\nx1pyzB2vKzJIfaUisjZ9NX9Oy+zh2Gf8vlt+QxeO7KlvqYXV2A55D7ZRIhOA\n6kFcyE4QM0AGb7i9XAEVzF5YuWOAvQVDWi4djhQ8hxm6Q7HdKWDlHsp60ihg\nStfKGqxqYqI4CSwAW8YeODQOT6qs58iuC5bDRQYYkMGlluD1pTrIFO1lsUUw\nVw4cnRDz96+YvqF4kcTeV8S4k6BO33cxrC6xz3CQKhG0eqs25AstNqK0YE0F\n8cgbmv7xzDIG9gIeVYY8ByX1iEGMVUqUNvQlIiKdnheKEX3I80e6QL6PaUp4\nl4ZxYg/BT5NIxPppy7kO/UIStsTrcmxIV1qvLPqDoYvIJrFUohnjnTbqpvoV\nPSFFrjAR3WdilNrRBG9513Uk0ikFsyDVQMOuqoJgPtMhGr81RsG/iK1OcR+L\nWnHElJ9KlyGjd7aE8AYngGuJWlmK2GUh1Pax81Y53qGFcAMpLDlCesIxmmjS\n65X0jAnKJlxAy19QY3epUqegsB0sFSNht8U7SWcYhtWwkGreLt9hqEldwHT6\nCGFAuJd8I8TBjHjpaxqk3/v4a8fL+Rzku9nLmftXcAovGiTyXcTpFSm9DUkI\nyXuwTW9H0qiHTDKZ8lHl72CUSJy0y8Ep9Wek94DdWE9hMYoSHTFnvAhr+sbK\nnOzQ\r\n=9NTL\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220104.33b5e0a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220104.33b5e0a.tgz","_integrity":"sha512-r8LtJQK0U9XHwjl4CyooxlCNXVUtH1PWoFRlWEqLg7llaB/tuCKbJLIed/r1LHTG2RzKf1gJwulNOEOGSfuBUQ==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220104.33b5e0a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220104.33b5e0a"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220104.33b5e0a_1641284653985_0.26709080892294335","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220105.380511c":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220105.380511c","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220105.380511c","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"46aa3e0c8e16ab1da9d6a12d53e6ec73a6330a3e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220105.380511c.tgz","fileCount":143,"integrity":"sha512-UHI8zOPO3MFx9AU7xOiGN4CQVTKDXR5jIfQw0KMzojKCB/nRAtcQp85DnSwGuj2zXniZ9jS4dUJsU1lbj7VfqA==","signatures":[{"sig":"MEUCIFK07bfxpE5XYZfxdJAejcwGpScw0CnJ2TS3C9gT/0ZNAiEA3p1FeG8lkHz6672K/11YfCHr11Gv/Gi/+fnhgRq4TUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1glXCRA9TVsSAnZWagAAx24P/isYw+4JJPEDGFRK7kJN\n0VHUp4JmjPnYVR3d+x7QnwUVZK3UkfDUiUt7fXB2JdMnPJFs9J0poK5tpTVI\nVE8or6JYbNySA+fYldxyHl8l2rVKGFrzIquKIqrXeQd2WNY3mGIOANALuhQ4\nJpDYsN+c6bfOw0z78dxtmVmDU34De6cdgjhs8wD5AKx38byBqol/jWJ2R1MW\n0fuvE3s83fXpsMRTapD5j3jeNOV3yJO3vAEUU6IGVVD2l7mQY2XtAFYXTl5P\nciHEW4klheq0Yvao8xUGA03CfJ8P+k0Yp+78hV8B8UdD9+FTU5jke5688mU4\nPHyfNUT1rqb8D8nSw3hrU+LCrMFfrfNmptTbsvRRXPzYU8MhCpHL+tzVSY51\nQMI0ySCXMTjsTviz335OmRdASlXKAiYvcZQpl6tzW4OFPa3yjeLvGv30BxFQ\nlz5RmMnipByEUX876n/EKIySr29kq2oloLctuFGfKRfpTbnYm5yST02Pi6He\n43O/9k875H8WL/nYX0GsEebP8l8vWzLjzZgy9iEIhBHS7q5GbHAP3apIDgNl\nO10tkc2Ypu25AjtqmXX9qvwxIi2kNN5ejuJHuP/fF0v0FMZ88lQKH8adzpPz\nex6apT9Agh5JlP3gOLOTUQwyw0M9HJdzYk0svNT5Z8U9UJIUIj/fbpHR49ck\n0bvO\r\n=O1Si\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220105.380511c.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220105.380511c.tgz","_integrity":"sha512-UHI8zOPO3MFx9AU7xOiGN4CQVTKDXR5jIfQw0KMzojKCB/nRAtcQp85DnSwGuj2zXniZ9jS4dUJsU1lbj7VfqA==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220105.380511c","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220105.380511c"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220105.380511c_1641417047402_0.0904479627998318","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220105.c44b989":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220105.c44b989","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220105.c44b989","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"6f567af898d5f4e40dfd0b91819581da9bb62a00","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220105.c44b989.tgz","fileCount":143,"integrity":"sha512-IB2RFqbh43NTEqXTX8nmDJuKvB+DjyOMEf5sNBo1ZarORVnyJ1G0jM1GYeX3ipyBKPOTB905fvjYpmIi4wHMyw==","signatures":[{"sig":"MEQCIGt7xV7t8zvruBssDfOAykeGD8TwYGcsm08GAWupwMZIAiBBHFBCAAVM72+HrUeQEWu3CkSjqy0jBtbaGX7errxIcw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1jGUCRA9TVsSAnZWagAAxgYQAJ/USjabF7uh/fiMJzwU\nUkb3z4kiQaRPWoaCIFcI3cFfQxmA0vx8Zmu+SUltL7HP9PL64JYGHGZ8XNkm\n+reaJubBxJ0i1AoFXqJBPmEX3wdfZe4x8PQ1XN7vjEvTRpzN9N67U+naaZaA\nJVN6T2EOqMzci4M+vsyh1YB4IDkU5RB+xofoyo34yUIjo9YnPH8SxwvCdBaf\nWOXaOz58oM4SCUlpX+qi4O966RrUK059mGBUjjE9dd+ucBC0wKRdaETW48KD\ngt5xf+bieL6cNJTrtQHK7EX7x9sPRx9LKWd1ux40DfV/AIetJW67E1VtPI77\nkzOa4D/Msepzo2v2Mgk0ORvb3j60AI9aXDmzbirVjmu+ffwYYfGefljm5LHB\nTF6nGExWtoCJas5GIhuVj+hag9yoZvRpEYriudP4OzxYm0HigM3hmd0B6b1K\nyKMiLHQmAVZq4cFleLkwrejFidZHpE+yCryhXfzSuGJHtNq5EOBG0Q6bCta5\nNKzEc0AVpVnCxtjmlHVLCct7gmiTn5BU4YjSyGnEpoWX0q0e7aWk7cbSNu9v\n8tdjXWMFePpPg60jZxqjk141Lc581DZP8FnBl6DfotnnI+qtpeMCK5oxX95/\nBSfDrjIIu6Jy27j8ZIGys72aQroQmv4jK78h6JVvC0dAOhQIQU0YAWmWj/Js\nLPNE\r\n=R4ZJ\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220105.c44b989.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220105.c44b989.tgz","_integrity":"sha512-IB2RFqbh43NTEqXTX8nmDJuKvB+DjyOMEf5sNBo1ZarORVnyJ1G0jM1GYeX3ipyBKPOTB905fvjYpmIi4wHMyw==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220105.c44b989","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220105.c44b989"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220105.c44b989_1641427347718_0.6693902764332176","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220106.c44b989":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220106.c44b989","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220106.c44b989","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"1ba83726a95a2f81342fe8a817b1793b28f56f29","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220106.c44b989.tgz","fileCount":143,"integrity":"sha512-aIC03sE6T3l5rmLCuPKb+LoyFQZp3QEa+e1IB7ymzXfXelipDsxyYERpv260NDnsUsDvHMhqABmtxktd2AbpaQ==","signatures":[{"sig":"MEUCIDwNTMv75TeBUbYOIUZMCyynnrfWxk5IM4vUI21LbEywAiEAg7Q8ASoss2ctiDcAJZJWYVZwtXITZDwXZQr/ukjcqfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1qaVCRA9TVsSAnZWagAA/ZIQAKNwrBM9CfO9r+yW9n4F\nGaIq8uzpaZe5EnuwtoEE+T2yLjXBTki9bntXnlNfxXsWRe6hLh7HvuIiUUK0\naR5goKYgMpuGeYLK5HqvgJ2wJTFw4ISAAK8MfrOpE/mdrxPBZDA0PNAQJBwn\nFt32m5tycTfC5dPeIn4oqpL/GZkMUonGQSoxURCHntmSQRbaRI4QLaT7/0zY\nWsEE1tPQfKumORXsJoQjY6BaH+wJBhkSUcAUo7FxG3WFJ33FlMBuE9Xfczqe\njaU0jk+aqRmXJ7ie3W8hfIGsuDTk1+62S7JOxs272u9ob+xMS7lyvK0xn9jb\nAJW4ppOIMzTRYocY0nn4L37T013kcxBLEVUX42xuJFr4otH6bgrjdL5NmnEB\nj3niaL3jZgwK9ypxTaDcgBAELAyv2C/PX/bdcHM6AvVZqTZgOWhO7yq0YQUF\nIiqCpozCDcxUIQ+ak19aOIqmnw4Bqb69j2O7p/45cGRMnXnY4xuSlFlAfF5P\npecWbHXYzbKnEgmg9Ge40YsnWMu0GtHTAbJXwrRpb0yhrLIIQVNZqXia2ipj\nk+XjSCAkgoAzk8L5Kj6BIue44CezVAyCk1mkXmwPrsRNetVgvH8IKG33X7ef\ndzM7RGYbeU0KbcwjSsrYAUOugvHTQvRZ2sNkTFhufmg0+BYwGZaZwN5dsTbH\nE4kF\r\n=WwZ7\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220106.c44b989.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220106.c44b989.tgz","_integrity":"sha512-aIC03sE6T3l5rmLCuPKb+LoyFQZp3QEa+e1IB7ymzXfXelipDsxyYERpv260NDnsUsDvHMhqABmtxktd2AbpaQ==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.21.1","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220106.c44b989","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220106.c44b989"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220106.c44b989_1641457301122_0.4304591790732015","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220110.b4d497d":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220110.b4d497d","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220110.b4d497d","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"bb4487ca1d4120cf305a917b4620e49dadaf0e17","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220110.b4d497d.tgz","fileCount":143,"integrity":"sha512-0L5AYX4l7PCpEfc5vTJxXGEpMnJ2mBkOGIjntxpGq7rR0XhAOPXY2o9nfx9iMCqs6TbD8eEMnbBsts25muHWHg==","signatures":[{"sig":"MEYCIQDTC9yauwQ+O4do2WGy80GR7ypuCj9oSE1MblTQKk5lPwIhALeItN1w4e5qOn8pSuVVlny3i4I7msZLPrfxH4PxRhQQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2+zgCRA9TVsSAnZWagAA1nAP/jNgmDubhZtUcCHmcJcZ\n/l9GA3rZjaetR+rWTrKeKa0uh9kB5Ox6RNutHiYKyObCcpQ/jWyIeNDVsnCJ\n+EZ/VGlGDaLJLRhMDp5peQ/IKiyPwgtn1dg6QZuCj2SVKry4q1wbIZrcr5dX\n0LoYG0D/zHJvemADNkNNJPyNUnSJftjxqBCPyeFhXpzqrOdaJNCpiu2kG+2/\nd+QilM8aRpQolRIjQEuCOTdFlAb7l0GzzgDjnqRgMts+pfm0y7HVxoIu3eVo\nK1xEcbQiHtfDLfVejgyoj9fvoPFT4G0lmAx0rBhfiI3FKzjHTOrnetgvvHyo\nZS5JfIidt5YyxCD5WRliwDkpA3B1AogZk0+FvEHz4sWd7MyWPjinyWKbsibN\nNtMcBFJdjOvipsUP/UbtukWSt99EjpCpfbEuvvKa94u9/3Nq32qQw53fxvgn\nvMoEJSm+YTfFPwZ+3B/67q9Ohi32d7VRx883cANTTkcB3XxyBvxEeSYLgsRc\nW6MR3aYYQvre4NjfOtxQzpO6Pth36avT1xe+nhWh/0uSpv3osp0TZNH6jCs7\nfz1TgLrCPk8oSiFFktcnA70P0kXMIHi/wlAS7R8ZtpsnwChra6HbM3StABV3\nZa5cTo68+njdaF+8RMV+HpfWujK35TRoonHYLOeBmqWIN1mBDpuoPlbyFq3n\nvW/v\r\n=cKiE\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220110.b4d497d.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220110.b4d497d.tgz","_integrity":"sha512-0L5AYX4l7PCpEfc5vTJxXGEpMnJ2mBkOGIjntxpGq7rR0XhAOPXY2o9nfx9iMCqs6TbD8eEMnbBsts25muHWHg==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.1","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220110.b4d497d","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220110.b4d497d"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220110.b4d497d_1641802976219_0.3821631725398311","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220120.e933dfc":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220120.e933dfc","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220120.e933dfc","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"1f5b50b9db434121e0f797e101bfe21eb1ce6c21","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220120.e933dfc.tgz","fileCount":143,"integrity":"sha512-VTZ8wgQj7prADktgP66CEUSK+pp5WEyCoFB1PTiALZTORnjqOnZtN+1pWO4Dm3zLu9rRBILB24lSQEE4IcSSag==","signatures":[{"sig":"MEUCIA31sWvOwh4YBC2cbYieX3Oe7YKk62vExwWQQm0P8RuzAiEA3yk9G6D0g9hmiwpzo5aAw6zl6cFroSU85l1xk7/KH2I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6RxsCRA9TVsSAnZWagAApP8P/17ov/K2PuvrlraNXCYJ\nm+wSrhKDQP8UebiauasahzrF+fBGckwLNx/3Rd5erRetYez0s1qWiDMeA9lB\nhGHYxVu2mklcUjptFMqzAj8T3B1zwg35V0zjKNQUJ+HoQJibyffTG+RiyAuK\nCe6cTCgKAgIm/fELMtX+3fiIZKyN6eoUftwW7eEWfGINwzMIe7j1mbcxud50\nI52VQrif8DJ4B+TBCkYgSWyhGQkxEYfrMQbBUE2mfKY8yebOHIRajGRYrU1R\nb3q/yBu+vaC4H1ZjodH+pk1kzGxFWl+FkVzTpzEgLqfk/tg5/AFFRg5r41/9\nBXHb/9ZsnTYZKTZTCzoMeppGAo7wm/b0t/0N6jm9ozcaokCAVcTD/+l4Magd\n73nN7Oa8vhGpyYhf9bluDAOXSnXomfYtNS4VTDvk8+kBIPOlOYyekzcnSgQK\nqbW8NTZj1G1Whla9noQIJPhhxEZOi2Mlg71SYkhZfnnYFwIgkqvM/YULtIPo\neklF2w0hqBbSr1Nuwxeial6iDCHberLWaPYC6Od02y6eRNs+JEtSzlGzIwrk\ndXrptp+F0OT2upmst6OWJkAWC97rk4ZLNpnnU22G5XHcc8IQ2bbOfrDzRxjk\n1PJPNwx+jqHy3hk3mpvLCSDSSQpoj9MrjfT6RLBftf9S63H7hJT/IY9FUJI+\nH8bF\r\n=uzYm\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220120.e933dfc.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220120.e933dfc.tgz","_integrity":"sha512-VTZ8wgQj7prADktgP66CEUSK+pp5WEyCoFB1PTiALZTORnjqOnZtN+1pWO4Dm3zLu9rRBILB24lSQEE4IcSSag==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.1.2","directories":{},"_nodeVersion":"16.13.2","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220120.e933dfc","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220120.e933dfc"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220120.e933dfc_1642667115979_0.018311622922220216","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220228.5bb413a":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220228.5bb413a","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220228.5bb413a","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"c26b006f4235951c2d013348a0ed91e4e2b4d7ef","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220228.5bb413a.tgz","fileCount":143,"integrity":"sha512-kB0g35t74hslLr1p+iQLfDTWPqTAtY+Zr9OrAa/cLL4KZm5R3xJJ3V94UhKgxlMhSJpO+KzYwgp7gwg6aREP5w==","signatures":[{"sig":"MEQCIAyxN5wAxmj7nk19thYGq3/sEFrkZYgJMj3ilZ4OGV4eAiA5pLdBMUWFR5fPolrucdkluB1Ovew7kGGHgeAVbuEMEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHIYCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNdw/5AVDRWGzhxTXkEibeYmyT+Llk1O5ob1xKLS5OZyvgEWyfye1h\r\nbL5HvtHFxzCcxySUcx/X1H9Du9U12l/IVYkztxkYJ4FeN0P/uPzuyRrBLeDs\r\nN/3SuTDtyEHh9VivzI0e/5TsMO0rrJ6qjrLIihNW8fG6TOWmtbQp36Wl/0se\r\nhQ8Vg9QuqlkKEeOoTsh8fdk9qk2NGKDVaTRYTQk78+kcsKItdX7L+QR4hFMr\r\nUXxP45lQmbkyhzPJrC7B3CqWvt2Q5wTcx2hvrZL0VffDAHKjxbarPv/vRlGh\r\nLJKGZ5hlU5s/brc2LKwvGUPjWX/oRHWRSGINDCuIx+3xl/V25ZdbdclTDYps\r\nhfdLuIqb3OpUS6SKpmtXO5RwcfN3SZ67C3ULga0wmRu3j2uhLCjv6qnkxzPe\r\n5GrlYEFlcMuHAsx+ZpZe6SjE/SL8LL9Jz0izQCKDC3bBhQ0Sm/LTmJ5WFDB2\r\njtmpzziwowcKkRoMB5PVRH9JUnhujdMMlWMmeoNXZwIppPyN1VxWH8O74O04\r\ngjtj7qlGNi2UEGsMX27HTvpt02DLZHsMHqaCj17Kt4ZzCEEc/ROc9XTiTvUV\r\nTuU9Xew/WgJxiODiyaHrkGZS4wFTJUlCS8Hl9bChOmhDYrFSfCQXYnoTnQ65\r\n4Xirbndt3S8tMd2mWFlUl8pRTzRIJo/7Sik=\r\n=QYWR\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220228.5bb413a.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220228.5bb413a.tgz","_integrity":"sha512-kB0g35t74hslLr1p+iQLfDTWPqTAtY+Zr9OrAa/cLL4KZm5R3xJJ3V94UhKgxlMhSJpO+KzYwgp7gwg6aREP5w==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.3.1","directories":{},"_nodeVersion":"16.14.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220228.5bb413a","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220228.5bb413a"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220228.5bb413a_1646036482723_0.7522582767750179","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220525.147c370":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220525.147c370","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220525.147c370","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"bd35829ff0566817cdc44418390cc9503ca0c425","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220525.147c370.tgz","fileCount":143,"integrity":"sha512-1FQgkW/0CcZzSSqgGXDu4MhbJLXZ7iYOeCtn3ebs5gwO0Ynd285n2Hk8CNynPKppgGSj1sBH8C7kI3NCLX0EGg==","signatures":[{"sig":"MEUCIGwx21VdR7epDcdiCFQygJfqi7bg5qlJgD4/Y3/vuTvRAiEA+iDbXZmpNIpHV3Af0dWoVx5ipsHBpZ/wEJpT1G8ZDqo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijdlfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGWw//UJ9DifQGiZYAM8cZQrnEwhXl8MM5Wj8z8RZeacVOITAfewQY\r\nRXxYJafCqe9bZmVogDTOgJiHC8zmxPp08qnF99/Quc2R858qtG6rgy1cue/b\r\nXHug4Nup1PcRwKVDYH2TTqmEOSJG8F1QTGzA6+CQnDFsiiuxi7yzY1+ENj6a\r\nxfn48YyZQqFVJp2gKiGtrt+90e3YbqH1VSxzYY4ZM2GY7mQORxzZotjwBPpU\r\nKS5u2qJj9eONMJFHPdRjkICEY63vxZFgTWvnATRvWS0GzJkNWS0E3XEDdjAa\r\nTg8vzek4sHX9apZVi/kr94cIIAaPIPYdThOjqT7fHITJdNrg6ETnWdigAq+m\r\npS6AYrKda+zffF93WZIQtaexl1ondS6nLV7GtU2VTRWE7I6Oxn4S4HMBaHVs\r\nBd+h9dmn3YuiXVkv+XweTXF3b0EgGmUcqfIyREiSTkcTw2J927RGCWjNBbuE\r\nlyxaqIanigF6JV15EjQgDtLd0BlqDZ2OXlVIlmh2NYEM0scRRKvC/QycPcU2\r\ny+r95+6L9l3BpZ+EuLf5iElgSpajYQ0/eyxsXQFYw4FL1bI3LHyjstbP2wY1\r\nBa8/ge55JqFq2l+rclpHjAmYlMBqqfe8EbIC+lL7MONGhIxrGktOTEwe9nQu\r\nIGRznfKQgY8FFIAj/YX23KboLFlmyX6fvjw=\r\n=A1iS\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220525.147c370.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220525.147c370.tgz","_integrity":"sha512-1FQgkW/0CcZzSSqgGXDu4MhbJLXZ7iYOeCtn3ebs5gwO0Ynd285n2Hk8CNynPKppgGSj1sBH8C7kI3NCLX0EGg==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.3.1","directories":{},"_nodeVersion":"16.14.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220525.147c370","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220525.147c370"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220525.147c370_1653463391731_0.010937947585221153","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220526.695cee5":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220526.695cee5","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220526.695cee5","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"a18df3ad8c25939f577c7321d5528ae5d4f70f14","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220526.695cee5.tgz","fileCount":143,"integrity":"sha512-HOggzwkuJYxUo4KWVI4cx6Z3boSDcZ3vRDtbadtlgv/C4twveWtj74aaC8bxov4ZEW27RDzHXmd8uKoZ6FbCuw==","signatures":[{"sig":"MEYCIQCTJpAmL6om1BwONSlgUj9AVwhGeafRFMMseMT1EXzdhAIhAKjhulrZ2j+d4Svy2vkEDkKXwisiwAm7+oq8pe++CWzB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijypYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcyA//cOTeBYTTuupATCHF4jjTvkFmLlsgOtomXD1pGSLWzPFcmcyI\r\nfmWC7PDLNVsqiEsEdfkvxjWD0vMC4XtHBYWjCXfGtGaxp9CEo0sxGxgwgIlK\r\nj9uIj1b2i5TJaXzZy1/g5svlz/aMcHbPjJuRpvmJgqlLz5YHboMwpO7+0bkA\r\ntWoCQ7+U+NxmpdM0msX/dX+GzufLRP1/gVbi/SzQx09jBnzJ/AI9+TXmath9\r\nA+e/3Zn3l1RK+PF4hPYA7dFhMYjDkAFFD5H6q2GrAUg5wwV/hbPS63lp9nV9\r\nCZlLkJqz9COhBLN69HA2sbMNzXOZCH7nY2hJdd0ISDiTyn6bfAxqOaFVS+ig\r\nfTx3xcGkjml5EY1jBClHZ9KMcZaHJ3wzZLg3j2oD5HLDLcX6FQajRe0rzmBY\r\nSljVughnkMkiXo7YIL59YiPf746jZzHYfM952fIivLW/Ye96lqk4KIY0T2CD\r\nf3XUraQVScUZNvfYdkfrqBJott7Afvr98a4vhm/Dm0ksT9KnpFZGyWSfCbUQ\r\nIfUNocX/ytDAf2yWbPuoWLsWPMPTTpyGN3Ysuoa/rJXmZXeEgttLZ8FaB1sB\r\nw/fezrYZWzCYE1zs2xgR/JjnxAgPkq/0B4J+tsM1P0BZoEy1PxknLyGj4UDy\r\ni0v6S3IMFaH6/ytczoL/awVoY1qoLvBRaJk=\r\n=SJ/6\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220526.695cee5.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220526.695cee5.tgz","_integrity":"sha512-HOggzwkuJYxUo4KWVI4cx6Z3boSDcZ3vRDtbadtlgv/C4twveWtj74aaC8bxov4ZEW27RDzHXmd8uKoZ6FbCuw==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.3.1","directories":{},"_nodeVersion":"16.14.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220526.695cee5","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220526.695cee5"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220526.695cee5_1653549655561_0.4841752625468838","host":"s3://npm-registry-packages"}},"4.16.0-dev.20220725.a0ab7ca":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20220725.a0ab7ca","keywords":["oclif-plugin"],"author":"Microsoft","license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20220725.a0ab7ca","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":"https://github.com/microsoft/botframework-cli/issues","dist":{"shasum":"3a7e47d574c7be42e007443a4df8067311bbcec4","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20220725.a0ab7ca.tgz","fileCount":143,"integrity":"sha512-fqC6WQ2P+nPKXqgCtcgT+CIokm9N0KfaSr2n5PqI0C679TnWBzW4pT0jH1Wn6nGA0/zFAgqYLCLKEmp73P6ivQ==","signatures":[{"sig":"MEUCIC3RYFKLg3AjHfxHTTNoUGxfKp3MQjet3619BooHVr/EAiEAn0B4hZveF15TrsZ98Te94w/ygT1nphlF4raI/UKLUUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3kTLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLgA/8Cl9VF2/d6AYlROEh5mIFvuGZmK6Xx8EHnGIHpg1+8qVwjKrH\r\ntn5+TFI7TE5W4ADgu20Q9Z/DtgtKYkP6m9+Qkr2UpkCzMqkLwQbjV1eTAMGV\r\nCZVvNtdqGDE8OQ8P7IYtrMeRGc+SFy93/n7PYg3uomzIrKvzy+y29feY5LnE\r\npshiE7NT08uQJyHAKiqlkz2+HWFhqmEuvGKVZVgGBTAXdwNuwUsnFjL0xYGi\r\n+ON2+FUGKCDy2zer8oL2fY31cXUyYyU6YaBSv5HjwiuEhmO5O7nOCq39PwLt\r\nr/Fs0gN26gEc7gSoLlh/a8rK0P1bzYn+F500eAK9SA0elmR9FPgK9TLVpwbS\r\nvnH/ZNg68myCzFC0RVm0H+ju7syQRLysmMA31Urz+Ek5OgIVkhoEWezHtYhi\r\nUJ4W9sXAFvOfMjvsnIhNO9R7IjpjfH0ubQItJPbPtPtvBzrUsPieFRs3k4jy\r\nPHjEpoi0gzHXOHF5qOER8wDMv7kxGeCL+uj7d6HKm3D5eGNXakp6mlddSyNk\r\nyqDd4wvXhURLif9iVd8YNsTiAvQbliOap9kjuUwM9JvgZfsZzIX770hsscVe\r\n1YvOGt80OxbLL1JfX/Awxb2Jy+UICo0RMMjgTREYmnR7uxGL2SWlWYJZgW6G\r\n2ZfovbYS40A13Wl+tl3B35YVRtaULmPRiLk=\r\n=hWu9\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220725.a0ab7ca.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20220725.a0ab7ca.tgz","_integrity":"sha512-fqC6WQ2P+nPKXqgCtcgT+CIokm9N0KfaSr2n5PqI0C679TnWBzW4pT0jH1Wn6nGA0/zFAgqYLCLKEmp73P6ivQ==","repository":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","_npmVersion":"8.3.1","directories":{},"_nodeVersion":"16.14.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20220725.a0ab7ca","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20220725.a0ab7ca"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20220725.a0ab7ca_1658733771200_0.06763073213284954","host":"s3://npm-registry-packages"}},"4.16.0-dev.20221107.64f07e4":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20221107.64f07e4","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20221107.64f07e4","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"114cdd3cce3f697dd38246e1bc591845f819b127","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20221107.64f07e4.tgz","fileCount":143,"integrity":"sha512-WVvY5zfc/kVH7FkSeUaG1oevF/rzrjFvHHYGsvME9JguQj32Zce1xjen4S9SeuLe+D4Axo8jhyJlKPajbzbfwg==","signatures":[{"sig":"MEYCIQDNGHSXQaeibysJcCMxT7f5xFhXmYX6Bdg9QYsw7bKjJQIhAMq/9N7744+VEzLFEg2gMoqUL19UodnvyH/3yXd4zB2F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaMCXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpiyg//VLObKLq0td42JTO1boKD279dtAjmJn6KHrB1nb0QwbqaT75I\r\n9QTNNc0C+KadQspFimAJRpsFUe+T5V5qzfX5pl8vnC4Df3k/66ozTEh5Json\r\n7wMwrJJp08xM7ZAidn2clkfVrY47mshMl3AH0JBZ7lJz4Yx77wfPLpJbYCp9\r\napHvVmdZGsUsWlU/YgfvztlQFFIYSmXY9y1YyVfdzAauToFQfi5YL6Sit82I\r\ngRPs2erkyyXlo+UxJYaLzKnFDtRHkH2gdFJvBZtyLrinYkpSXrtRflwRQurB\r\noNq9W8cNQlmEYXZWST1C5U6cFh7lrStWpLR+8icQuyJEA39Xlnp60WwqiVSJ\r\nBn/MhKEMTWC+LHr5IugLfYYSLhi649hc1/ZlvgYa10qjrHyfqwfkmV33M/sR\r\nUGQJbqHJE0WKsEzaK073X+U3b0A7xXIpkdHKGI0nIQ+Vyr0DPXLesp5aFdhd\r\nz2GX1Gh+8dyyaIKAKKngNi01+/5OCnmn+Aa9Va7MfpfG7O0rhudsfrRAyptB\r\nby/Te4LOpHHEzBCiwxFRaFOkgjNerKjmIsZqNIU+zj1zjkFWl0uXrp1/oSV9\r\neHR7WJ24KMRS1cEKABAhOlS5OF9BTLJtDef1Ox/Ja1U7n5ial/nR19+ddKge\r\n9j484KgX/7t5+/ERdeNre99+xZVeT6QAlzA=\r\n=zIfw\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221107.64f07e4.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221107.64f07e4/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221107.64f07e4.tgz","_integrity":"sha512-WVvY5zfc/kVH7FkSeUaG1oevF/rzrjFvHHYGsvME9JguQj32Zce1xjen4S9SeuLe+D4Axo8jhyJlKPajbzbfwg==","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git#master","type":"git"},"_npmVersion":"8.19.2","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"16.18.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20221107.64f07e4","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20221107.64f07e4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20221107.64f07e4_1667809431358_0.48334057280335396","host":"s3://npm-registry-packages"}},"4.16.0-dev.20221111.64f07e4":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20221111.64f07e4","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20221111.64f07e4","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"d7ecd28602c6b8202a34f63308ff4933f494750e","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20221111.64f07e4.tgz","fileCount":143,"integrity":"sha512-t1go4unxqt+7EXMb0YOcIqbzF2BzjugP50zxjAWBIZp4rQFf/rHEw1iHF8wK6m9bqH5cSLNOYyv8QN58Gb7m+Q==","signatures":[{"sig":"MEUCIFkGkqVeYGa2bOIImvv4pU5Appjg9Q9n0zdoOBiQVFZNAiEA14yulVXnrgh6sZf8dOeMN4UrXxjIoEdAJNTuyHw93RA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbtbfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxbBAAlDWOPwqFygRNSV/9Lp6rJGI29ka7brJC7VLx8J2+qiqp3pHh\r\nLXFSr+iRYWo2amXMmttrsr7/P80VT1kP/g3wI0q2i0KEpQtYasBRoI6hfQMh\r\nI2NcUuGEw+BhhB0d8sK14Tqou8CmhXbw7emY87dPJAio/LdKvzdkT2WCOrPe\r\nDI5Q56QaqctdPlh6HJ8R0Klp91kt3n6BCmyHEk6Vdyp5UpB2JPPlMntMJuEN\r\nCJH2ZwJH30L0HzVAnQmX1RPdS7damj+eBN9b9Xn30Mg1GKSsOANlzyzdIoPp\r\nHC3zdibrRyF7Ih0Ze7/PD5lixuf5qJEnCaBnIliZ3q8sbJo21yxcbyqt9JbI\r\nBMiaqBxb5CgxfFMCuXGg6zkK3P+5FwtJ+0XsOerjI+M7r8HQzRL0PKiYSERp\r\nCjPZQuMOf175//Vd7sjhS/H9jirPVXmjFiCSBUUXp1nF8oD6vMpZJBYayS2T\r\nQ94n4lXpZWTx4Inmf/kxqOwBn03/1brXARCqi1Vd5JEboYfrGpXRutTrYYBg\r\nDVRDkOebVZsv4IkM81L4LNjfMY7QI0tVhSe0WSyVF5C/N9GPRKdE6D5HgPMH\r\nYXatM4VS3eQxeBE8fFgggWNSu9KZ13NlFWSTJBLmHhTU0PtQl0k6Lcvd2lxN\r\nZevTuZ9+zJU6kVVr1Gt9vYCFc9CFLCpfUjQ=\r\n=DP+x\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221111.64f07e4.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221111.64f07e4/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221111.64f07e4.tgz","_integrity":"sha512-t1go4unxqt+7EXMb0YOcIqbzF2BzjugP50zxjAWBIZp4rQFf/rHEw1iHF8wK6m9bqH5cSLNOYyv8QN58Gb7m+Q==","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git#master","type":"git"},"_npmVersion":"8.19.2","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"16.18.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20221111.64f07e4","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20221111.64f07e4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20221111.64f07e4_1668208351220_0.7718636359176578","host":"s3://npm-registry-packages"}},"4.16.0-dev.20221114.64f07e4":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20221114.64f07e4","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20221114.64f07e4","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"a2b4bf908f1b28b61d9799e0d5390c7015cb3d10","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20221114.64f07e4.tgz","fileCount":143,"integrity":"sha512-rlrpQ8A5c7NE9v1yPjk+K0DQoJNBt4tnwC8+D6H9nKgyZNMIIQXCOVsh9ovx1NeVaymE+LlfE+S4YJWqim8T5A==","signatures":[{"sig":"MEYCIQDAyoQjZkGhuxzqsJXv9SHVB6FTt4Z6ciFH8UHGNuGecgIhAKlMQh3LUKafRuCr04oojXPqjhT21e6ySayv+YEchSB3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcfslACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBQg/9GYRM3u58RezviYkjGfX9ijXPd3ngKtSp4qguERIhNf3SzgXR\r\n9n3OZKLJ5LFhLnFFK0XKYh4nVW1PAzv5vREnJP3nDBXjC11mjRpx17orcZZI\r\nYSGPucFTXjEwNJUdZ2fVZJlTc0BBbisbIVAnqMNJF7VxHSHX4Xdah7jnczi5\r\n46E82zB4dQLT7X3zbrc0oV8L5d/w1fM/10WjZU2o+G6p4tjigVNesCO3Zck2\r\niqr6FBB0UKq04H3U4kVG8U5hONTp8R3crsCvC2kv2A4CH8RFYiaWzkTqa9K7\r\nr9I1QRHjBRPatU+gwMs535ru2LDqjW/uOyelHepctP59GvkPip/bJeWrCLXg\r\n7XJk2v20Br5DFq/NBHfqnQcn3rL0effVplofK5VbkwZWVoAd62vbN8FcUueW\r\n2uBw1PhZA1pH7nQDuIccWuRy62LuTKg6LpUh78Y8hFlrSdZ+/yEEJxQr6XvZ\r\nno9Jaf8zqMU0Lq6yYLjUHEcny3nvIa+gYWJiFk9x+Az4h1HsmhoyxfdSsO75\r\np8E5pmqrWq34fGIRrPJXrUqVsOHSCpX37Yvn9UrhpI6I6h25Wjmv7FvCwTdZ\r\nr9E1nrrQT6M/f69RJr9eyJuFebPr+AHb3wcQQd1VARi4ELdzeT+6k2bO8YcF\r\njvEWbVYxLD1J7MrOKh5sk4GN6LfSh+kuxoc=\r\n=Kvv5\r\n-----END PGP SIGNATURE-----\r\n"},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221114.64f07e4.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20221114.64f07e4/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20221114.64f07e4.tgz","_integrity":"sha512-rlrpQ8A5c7NE9v1yPjk+K0DQoJNBt4tnwC8+D6H9nKgyZNMIIQXCOVsh9ovx1NeVaymE+LlfE+S4YJWqim8T5A==","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git#master","type":"git"},"_npmVersion":"8.19.2","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"16.18.0","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20221114.64f07e4","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20221114.64f07e4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20221114.64f07e4_1668414245717_0.9447899129358288","host":"s3://npm-registry-packages"}},"4.16.0-dev.20231122.4561d55":{"name":"@microsoft/bf-qnamaker","version":"4.16.0-dev.20231122.4561d55","keywords":["oclif-plugin"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/bf-qnamaker@4.16.0-dev.20231122.4561d55","maintainers":[{"name":"botframework","email":"botframework@microsoft.com"},{"name":"sgellock","email":"sgellock@microsoft.com"},{"name":"cwhitten","email":"christopherwhitten@gmail.com"},{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"peterinnesmsft","email":"peinnes@microsoft.com"},{"name":"joshgummersall","email":"npm@josh.standardlabs.dev"},{"name":"cmullins","email":"cmullins@gmail.com"}],"homepage":"https://github.com/microsoft/botframework-cli","bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"dist":{"shasum":"8e47f62b30470774b6c21b7311804458e0a50d96","tarball":"https://registry.npmjs.org/@microsoft/bf-qnamaker/-/bf-qnamaker-4.16.0-dev.20231122.4561d55.tgz","fileCount":143,"integrity":"sha512-+3qQDftcK3H19TRBsAvhTSHFtNRHXUstrVSO0fWZyICjTQ6KXURBncf3XXr6WJG79Z+RM/Tf0VKdUqp9eKWa4w==","signatures":[{"sig":"MEUCIAEYSpBKJHhl6oQDF7s4RuyAYdQYjIZrggoyO07/NNCVAiEAr6yYAA2nm0kE2KXvZEs2V68Z29LeP0nWof2jkNYnmlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284724},"_from":"file:D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20231122.4561d55.tgz","oclif":{"bin":"bf","commands":"./lib/commands","devPlugins":["@oclif/plugin-help"]},"readme":"@microsoft/bf-qnamaker\r\n======================\r\n\r\nThis package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.\r\n\r\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\r\n[![Version](https://img.shields.io/npm/v/@microsoft/bf-qnamaker)](https://npmjs.org/package/@microsoft/bf-qnamaker)\r\n\r\n\r\n# Relevant docs\r\n- [.qna file format][1]\r\n- [Working with .qna files][2]\r\n- [Machine translating .qna content][3]\r\n- [using qnamaker:build][4]\r\n- [ChitChat dataset][5]\r\n\r\n# Commands\r\n<!-- commands -->\n* [`bf qnamaker`](#bf-qnamaker)\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\n* [`bf qnamaker:init`](#bf-qnamakerinit)\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\n* [`bf qnamaker:query`](#bf-qnamakerquery)\n* [`bf qnamaker:train`](#bf-qnamakertrain)\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\n\n## `bf qnamaker`\n\nQnA Maker\n\n```\nUSAGE\n  $ bf qnamaker\n\nOPTIONS\n  -h, --help  Display QnA Maker CLI available commands\n```\n\n_See code: [src\\commands\\qnamaker\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\index.ts)_\n\n## `bf qnamaker:alterations`\n\nCommands for replacing and listing your alterations\n\n```\nUSAGE\n  $ bf qnamaker:alterations\n\nOPTIONS\n  -h, --help  display qnamaker:alterations available commands\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\alterations\\index.ts)_\n\n## `bf qnamaker:alterations:list`\n\nDownloads all word alterations (synonyms) that have been added by the user.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:list\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\alterations\\list.ts)_\n\n## `bf qnamaker:alterations:replace`\n\nReplaces word alterations (synonyms) for the KB with the give records.\n\n```\nUSAGE\n  $ bf qnamaker:alterations:replace\n\nOPTIONS\n  -h, --help                         qnamaker:alterations:replace command help\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\alterations\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\alterations\\replace.ts)_\n\n## `bf qnamaker:build`\n\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\n\n```\nUSAGE\n  $ bf qnamaker:build\n\nOPTIONS\n  -b, --botName=botName                  Bot name\n\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\n                                         file\n\n  -h, --help                             qnamaker:build command help\n\n  -i, --in=in                            Source .qna file or folder\n\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\n                                         knowledge base setting will be output to console\n\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\n\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\n                                         if not set\n\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\n                                         be generated if not specified. Only valid if --out is set\n\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\n\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\n                                         Only valid if --out is set\n\n  --log                                  Writes out log messages to console\n\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\n\n  --region=region                        [default: westus] Overrides public endpoint\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --schema=schema                        Defines $schema for generated .dialog files\n\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\n                                         Defaults to current logged in user alias\n\nEXAMPLE\n\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\n```\n\n_See code: [src\\commands\\qnamaker\\build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\build.ts)_\n\n## `bf qnamaker:convert`\n\nConverts .qna file(s) to QnA application JSON models or vice versa.\n\n```\nUSAGE\n  $ bf qnamaker:convert\n\nOPTIONS\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help     qnamaker:convert help\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\n  --alterations  Indicates if files is QnA Alterations\n  --log          Enables log messages\n  --name=name    Name of the QnA KB\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\n```\n\n_See code: [src\\commands\\qnamaker\\convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\convert.ts)_\n\n## `bf qnamaker:cross-train`\n\nLu and Qna cross train tool\n\n```\nUSAGE\n  $ bf qnamaker:cross-train\n\nOPTIONS\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\n  -h, --help               luis:cross-train command help\n  -i, --in=in              Source lu and qna files folder\n\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\n                           cross-trained folder under folder of current command\n\n  --config=config          Path to config file of mapping rules\n\n  --intentName=intentName  [default: _Interruption] Interruption intent name\n\n  --log                    Writes out log messages to console\n```\n\n_See code: [src\\commands\\qnamaker\\cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\cross-train.ts)_\n\n## `bf qnamaker:endpointkeys`\n\nCommands to refresh and list keys\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys\n\nOPTIONS\n  -h, --help  display qnamaker:endpointkeys available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointkeys\\index.ts)_\n\n## `bf qnamaker:endpointkeys:list`\n\nList all the currently valid endpointKeys for querying your private endpoint\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:list\n\nOPTIONS\n  -h, --help                         qnamaker:endpointkeys:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointkeys\\list.ts)_\n\n## `bf qnamaker:endpointkeys:refresh`\n\nRe-generates an endpoint key, in case you suspect your keys have been compromised\n\n```\nUSAGE\n  $ bf qnamaker:endpointkeys:refresh\n\nOPTIONS\n  -h, --help                         qnamaker:endpoints:refresh command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointkeys\\refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointkeys\\refresh.ts)_\n\n## `bf qnamaker:endpointsettings`\n\nCommands to get and update endpoint settings\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings\n\nOPTIONS\n  -h, --help  display qnamaker:update available commands\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointsettings\\index.ts)_\n\n## `bf qnamaker:endpointsettings:get`\n\nGets endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:get\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to get metadata.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointsettings\\get.ts)_\n\n## `bf qnamaker:endpointsettings:update`\n\nUpdates endpoint settings for an endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:endpointsettings:update\n\nOPTIONS\n  -h, --help                         qnamaker:endpointsettings:update command help\n  --activelearning                   Enable active learning. Disables if flag not set\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\endpointsettings\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\endpointsettings\\update.ts)_\n\n## `bf qnamaker:init`\n\nInitializes the config file with settings.\n\n```\nUSAGE\n  $ bf qnamaker:init\n\nOPTIONS\n  -h, --help           qnamaker:init command help\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n```\n\n_See code: [src\\commands\\qnamaker\\init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\init.ts)_\n\n## `bf qnamaker:kb`\n\nCommands for manipulating your knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb\n\nOPTIONS\n  -h, --help  display qnamaker:kb available commands\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\index.ts)_\n\n## `bf qnamaker:kb:create`\n\nCreates a new knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:create\n\nOPTIONS\n  -h, --help                         qnamaker:kb:create command help\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\n                                     present in the CreateKb DTO\n\n  --save                             Save the kbId in config.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\create.ts)_\n\n## `bf qnamaker:kb:delete`\n\nDelete a knowledgebase by id\n\n```\nUSAGE\n  $ bf qnamaker:kb:delete\n\nOPTIONS\n  -h, --help                         qnamaker:kb:delete command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --force                            Do not prompt for confirmation, force the operation\n\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\delete.ts)_\n\n## `bf qnamaker:kb:export`\n\nEchos a knowledgebase in json or qna format to stdout\n\n```\nUSAGE\n  $ bf qnamaker:kb:export\n\nOPTIONS\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\n  -h, --help                         qnamaker:kb:export command help\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\n\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\n                                     config\n\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\export.ts)_\n\n## `bf qnamaker:kb:get`\n\nGet metadata about a knowledgebase\n\n```\nUSAGE\n  $ bf qnamaker:kb:get\n\nOPTIONS\n  -h, --help                         qnamaker:kb:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\get.ts)_\n\n## `bf qnamaker:kb:list`\n\nList all of your knowledgebases\n\n```\nUSAGE\n  $ bf qnamaker:kb:list\n\nOPTIONS\n  -h, --help                         qnamaker:kb:list command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\list.ts)_\n\n## `bf qnamaker:kb:publish`\n\nPublish all unpublished in the knowledgebase to the prod endpoint.\n\n```\nUSAGE\n  $ bf qnamaker:kb:publish\n\nOPTIONS\n  -h, --help                         qnamaker:kb:publish command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\publish.ts)_\n\n## `bf qnamaker:kb:replace`\n\nReplace a knowledgebase contents with new contents\n\n```\nUSAGE\n  $ bf qnamaker:kb:replace\n\nOPTIONS\n  -h, --help                         qnamaker:kb:replace command help\n\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\n                                     Alternately this can be path to a .qna file\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\replace.ts)_\n\n## `bf qnamaker:kb:update`\n\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\n\n```\nUSAGE\n  $ bf qnamaker:kb:update\n\nOPTIONS\n  -h, --help                         qnamaker:kb:update command help\n\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\n                                     request.\n\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n\n  --wait                             Wait for the operation to complete.\n```\n\n_See code: [src\\commands\\qnamaker\\kb\\update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\kb\\update.ts)_\n\n## `bf qnamaker:operationdetails`\n\nCommand to get operation details\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails\n\nOPTIONS\n  -h, --help  display qnamaker:operationdetails available commands\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\operationdetails\\index.ts)_\n\n## `bf qnamaker:operationdetails:get`\n\nGets details of a specific long running operation.\n\n```\nUSAGE\n  $ bf qnamaker:operationdetails:get\n\nOPTIONS\n  -h, --help                         qnamaker:operationdetails:get command help\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\n  --operationId=operationId          (required) Operation id.\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in the config\n```\n\n_See code: [src\\commands\\qnamaker\\operationdetails\\get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\operationdetails\\get.ts)_\n\n## `bf qnamaker:query`\n\nGenerate Answer for fetching the answer from Kb for a query\n\n```\nUSAGE\n  $ bf qnamaker:query\n\nOPTIONS\n  -h, --help                       qnamaker:query command help\n  --context=context                Path to Context object json file with previous QnA\n\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\n                                   settings page). Overrides the value present in config\n\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\n\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                   config\n\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\n\n  --question=question              (required) Query to get a prediction for\n\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\n\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\n\n  --test                           Query against the test index\n\n  --top=top                        Specifies the number of matching results\n```\n\n_See code: [src\\commands\\qnamaker\\query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\query.ts)_\n\n## `bf qnamaker:train`\n\nTrain call to add suggestions to the knowledgebase.\n\n```\nUSAGE\n  $ bf qnamaker:train\n\nOPTIONS\n  -h, --help                         qnamaker:get:kb command help\n\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\n                                     user settings page). Overrides the value present in config.\n\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\n                                     config.\n\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\n\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\n                                     config\n\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\n                                     Management section for your Qna Maker cognitive service). Overrides the\n                                     subscriptionkey value present in config\n```\n\n_See code: [src\\commands\\qnamaker\\train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\train.ts)_\n\n## `bf qnamaker:translate`\n\nTranslate given QnA maker application JSON model or qna file(s)\n\n```\nUSAGE\n  $ bf qnamaker:translate\n\nOPTIONS\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\n                                             that file\n\n  -h, --help                                 qnamaker:translate help\n\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\n\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\n\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\n\n  --srclang=srclang                          Source lang code. Auto detect if missing.\n\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\n                                             using a Translator Resource.\n\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\n\n  --translate_comments                       When set, machine translate comments found in .qna file\n\n  --translate_link_text                      When set, machine translate link description in .qna file\n\n  --translatekey=translatekey                (required) Machine translation endpoint key.\n```\n\n_See code: [src\\commands\\qnamaker\\translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/blob/v4.16.0-dev.20231122.4561d55/src\\commands\\qnamaker\\translate.ts)_\n<!-- commandsstop -->\r\n* [`bf qnamaker`](#bf-qnamaker)\r\n* [`bf qnamaker:alterations`](#bf-qnamakeralterations)\r\n* [`bf qnamaker:alterations:list`](#bf-qnamakeralterationslist)\r\n* [`bf qnamaker:alterations:replace`](#bf-qnamakeralterationsreplace)\r\n* [`bf qnamaker:build`](#bf-qnamakerbuild)\r\n* [`bf qnamaker:convert`](#bf-qnamakerconvert)\r\n* [`bf qnamaker:cross-train`](#bf-qnamakercross-train)\r\n* [`bf qnamaker:endpointkeys`](#bf-qnamakerendpointkeys)\r\n* [`bf qnamaker:endpointkeys:list`](#bf-qnamakerendpointkeyslist)\r\n* [`bf qnamaker:endpointkeys:refresh`](#bf-qnamakerendpointkeysrefresh)\r\n* [`bf qnamaker:endpointsettings`](#bf-qnamakerendpointsettings)\r\n* [`bf qnamaker:endpointsettings:get`](#bf-qnamakerendpointsettingsget)\r\n* [`bf qnamaker:endpointsettings:update`](#bf-qnamakerendpointsettingsupdate)\r\n* [`bf qnamaker:init`](#bf-qnamakerinit)\r\n* [`bf qnamaker:kb`](#bf-qnamakerkb)\r\n* [`bf qnamaker:kb:create`](#bf-qnamakerkbcreate)\r\n* [`bf qnamaker:kb:delete`](#bf-qnamakerkbdelete)\r\n* [`bf qnamaker:kb:export`](#bf-qnamakerkbexport)\r\n* [`bf qnamaker:kb:get`](#bf-qnamakerkbget)\r\n* [`bf qnamaker:kb:list`](#bf-qnamakerkblist)\r\n* [`bf qnamaker:kb:publish`](#bf-qnamakerkbpublish)\r\n* [`bf qnamaker:kb:replace`](#bf-qnamakerkbreplace)\r\n* [`bf qnamaker:kb:update`](#bf-qnamakerkbupdate)\r\n* [`bf qnamaker:operationdetails`](#bf-qnamakeroperationdetails)\r\n* [`bf qnamaker:operationdetails:get`](#bf-qnamakeroperationdetailsget)\r\n* [`bf qnamaker:query`](#bf-qnamakerquery)\r\n* [`bf qnamaker:train`](#bf-qnamakertrain)\r\n* [`bf qnamaker:translate`](#bf-qnamakertranslate)\r\n\r\n## `bf qnamaker`\r\n\r\nQnA Maker\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker\r\n\r\nOPTIONS\r\n  -h, --help  Display QnA Maker CLI available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/index.ts)_\r\n\r\n## `bf qnamaker:alterations`\r\n\r\nCommands for replacing and listing your alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:alterations available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/index.ts)_\r\n\r\n## `bf qnamaker:alterations:list`\r\n\r\nDownloads all word alterations (synonyms) that have been added by the user.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/list.ts)_\r\n\r\n## `bf qnamaker:alterations:replace`\r\n\r\nReplaces word alterations (synonyms) for the KB with the give records.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:alterations:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:alterations:replace command help\r\n  -i, --in=in                        File path to the WordAlterationsDTO object to send in the body of the request\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/alterations/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/alterations/replace.ts)_\r\n\r\n## `bf qnamaker:build`\r\n\r\nBuild .qna files to create or update qnamaker knowledge bases and qnamaker alterations\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:build\r\n\r\nOPTIONS\r\n  -b, --botName=botName                  Bot name\r\n\r\n  -f, --force                            If --out flag is provided with the path to an existing file, overwrites that\r\n                                         file\r\n\r\n  -h, --help                             qnamaker:build command help\r\n\r\n  -i, --in=in                            Source .qna file or folder\r\n\r\n  -o, --out=out                          Output folder name to write out .dialog and settings files. If not specified,\r\n                                         knowledge base setting will be output to console\r\n\r\n  -s, --subscriptionKey=subscriptionKey  QnA maker subscription key\r\n\r\n  --defaultCulture=defaultCulture        Culture code for the content. Infer from .qna if available. Defaults to en-us\r\n                                         if not set\r\n\r\n  --dialog=dialog                        Dialog recognizer type [multiLanguage|crosstrained]. No dialog recognizers will\r\n                                         be generated if not specified. Only valid if --out is set\r\n\r\n  --endpoint=endpoint                    Qnamaker authoring endpoint for publishing\r\n\r\n  --fallbackLocale=fallbackLocale        Locale to be used at the fallback if no locale specific recognizer is found.\r\n                                         Only valid if --out is set\r\n\r\n  --log                                  Writes out log messages to console\r\n\r\n  --qnaConfig=qnaConfig                  Path to config for qna build which can contain switches for arguments\r\n\r\n  --region=region                        [default: westus] Overrides public endpoint\r\n                                         https://<region>.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --schema=schema                        Defines $schema for generated .dialog files\r\n\r\n  --suffix=suffix                        Environment name as a suffix identifier to include in qnamaker kb name.\r\n                                         Defaults to current logged in user alias\r\n\r\nEXAMPLE\r\n\r\n       $ bf qnamaker:build --in {INPUT_FILE_OR_FOLDER} --subscriptionKey {SUBSCRIPTION_KEY} --botName {BOT_NAME}\r\n```\r\n\r\n_See code: [src/commands/qnamaker/build.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/build.ts)_\r\n\r\n## `bf qnamaker:convert`\r\n\r\nConverts .qna file(s) to QnA application JSON models or vice versa.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:convert\r\n\r\nOPTIONS\r\n  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help     qnamaker:convert help\r\n  -i, --in=in    Source .qna file(s) or QnA KB JSON file\r\n  -o, --out=out  Output file or folder name. If not specified stdout will be used as output\r\n  -r, --recurse  Indicates if sub-folders need to be considered to file .qna file(s)\r\n  --alterations  Indicates if files is QnA Alterations\r\n  --log          Enables log messages\r\n  --name=name    Name of the QnA KB\r\n  --sort         When set, questions collections are alphabetically sorted are alphabetically sorted in .qna files\r\n```\r\n\r\n_See code: [src/commands/qnamaker/convert.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/convert.ts)_\r\n\r\n## `bf qnamaker:cross-train`\r\n\r\nLu and Qna cross train tool\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:cross-train\r\n\r\nOPTIONS\r\n  -f, --force              If --out flag is provided with the path to an existing file, overwrites that file\r\n  -h, --help               luis:cross-train command help\r\n  -i, --in=in              Source lu and qna files folder\r\n\r\n  -o, --out=out            Output folder name. If not specified, the cross trained files will be written to\r\n                           cross-trained folder under folder of current command\r\n\r\n  --config=config          Path to config file of mapping rules\r\n\r\n  --intentName=intentName  [default: _Interruption] Interruption intent name\r\n\r\n  --log                    Writes out log messages to console\r\n```\r\n\r\n_See code: [src/commands/qnamaker/cross-train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/cross-train.ts)_\r\n\r\n## `bf qnamaker:endpointkeys`\r\n\r\nCommands to refresh and list keys\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:endpointkeys available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/index.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:list`\r\n\r\nList all the currently valid endpointKeys for querying your private endpoint\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointkeys:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/list.ts)_\r\n\r\n## `bf qnamaker:endpointkeys:refresh`\r\n\r\nRe-generates an endpoint key, in case you suspect your keys have been compromised\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointkeys:refresh\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpoints:refresh command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --keyType=keyType                  (required) Type of Key. (PrimaryKey/SecondaryKey)\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointkeys/refresh.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointkeys/refresh.ts)_\r\n\r\n## `bf qnamaker:endpointsettings`\r\n\r\nCommands to get and update endpoint settings\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:update available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/index.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:get`\r\n\r\nGets endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to get metadata.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/get.ts)_\r\n\r\n## `bf qnamaker:endpointsettings:update`\r\n\r\nUpdates endpoint settings for an endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:endpointsettings:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:endpointsettings:update command help\r\n  --activelearning                   Enable active learning. Disables if flag not set\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/endpointsettings/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/endpointsettings/update.ts)_\r\n\r\n## `bf qnamaker:init`\r\n\r\nInitializes the config file with settings.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:init\r\n\r\nOPTIONS\r\n  -h, --help           qnamaker:init command help\r\n  --endpoint=endpoint  Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n```\r\n\r\n_See code: [src/commands/qnamaker/init.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/init.ts)_\r\n\r\n## `bf qnamaker:kb`\r\n\r\nCommands for manipulating your knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:kb available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/index.ts)_\r\n\r\n## `bf qnamaker:kb:create`\r\n\r\nCreates a new knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:create\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:create command help\r\n  -i, --in=in                        File path to the CreateKbDTO object to send in the body of the request.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --name=name                        Name of the kb you want to create. This will override the name of KB that might be\r\n                                     present in the CreateKb DTO\r\n\r\n  --save                             Save the kbId in config.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/create.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/create.ts)_\r\n\r\n## `bf qnamaker:kb:delete`\r\n\r\nDelete a knowledgebase by id\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:delete\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:delete command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --force                            Do not prompt for confirmation, force the operation\r\n\r\n  --kbId=kbId                        Knowledgebase id to be deleted. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/delete.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/delete.ts)_\r\n\r\n## `bf qnamaker:kb:export`\r\n\r\nEchos a knowledgebase in json or qna format to stdout\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:export\r\n\r\nOPTIONS\r\n  -f, --force                        If --out flag is provided with the path to an existing file, overwrites that file.\r\n  -h, --help                         qnamaker:kb:export command help\r\n  -o, --out=out                      Output file path. If not specified stdout will be used as output.\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --environment=environment          [default: Prod] Specifies whether environment is Test or Prod.\r\n\r\n  --kbId=kbId                        Knowledgebase id to be exported. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --qnaFormat                        Specifies if the content should be exported to .qna format.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/export.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/export.ts)_\r\n\r\n## `bf qnamaker:kb:get`\r\n\r\nGet metadata about a knowledgebase\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id to get metadata. Overrides the knowledge base id present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/get.ts)_\r\n\r\n## `bf qnamaker:kb:list`\r\n\r\nList all of your knowledgebases\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:list\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:list command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/list.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/list.ts)_\r\n\r\n## `bf qnamaker:kb:publish`\r\n\r\nPublish all unpublished in the knowledgebase to the prod endpoint.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:publish\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:publish command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --kbId=kbId                        Knowledgebase id to pubish. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/publish.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/publish.ts)_\r\n\r\n## `bf qnamaker:kb:replace`\r\n\r\nReplace a knowledgebase contents with new contents\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:replace\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:replace command help\r\n\r\n  -i, --in=in                        File path to the ReplaceKbDTO object to send in the body of the request.\r\n                                     Alternately this can be path to a .qna file\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/replace.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/replace.ts)_\r\n\r\n## `bf qnamaker:kb:update`\r\n\r\nAdd or delete QnA Pairs and / or URLs to an existing knowledge base\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:kb:update\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:kb:update command help\r\n\r\n  -i, --in=in                        The file path to the UpdateKbOperationDTO object to send in the body of the\r\n                                     request.\r\n\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n\r\n  --kbId=kbId                        Knowledgebase id. Overrides the knowledge base id present in the config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n\r\n  --wait                             Wait for the operation to complete.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/kb/update.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/kb/update.ts)_\r\n\r\n## `bf qnamaker:operationdetails`\r\n\r\nCommand to get operation details\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails\r\n\r\nOPTIONS\r\n  -h, --help  display qnamaker:operationdetails available commands\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/index.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/index.ts)_\r\n\r\n## `bf qnamaker:operationdetails:get`\r\n\r\nGets details of a specific long running operation.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:operationdetails:get\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:operationdetails:get command help\r\n  --endpoint=endpoint                Overrides public endpoint https://westus.api.cognitive.microsoft.com/qnamaker/v4.0/\r\n  --operationId=operationId          (required) Operation id.\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in the config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/operationdetails/get.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/operationdetails/get.ts)_\r\n\r\n## `bf qnamaker:query`\r\n\r\nGenerate Answer for fetching the answer from Kb for a query\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:query\r\n\r\nOPTIONS\r\n  -h, --help                       qnamaker:query command help\r\n  --context=context                Path to Context object json file with previous QnA\r\n\r\n  --endpointKey=endpointKey        Specifies the endpoint key for your private QnA service (From qnamaker.ai portal user\r\n                                   settings page). Overrides the value present in config\r\n\r\n  --hostname=hostname              Specifies the url for your private QnA service. Overrides the value present in config\r\n\r\n  --kbId=kbId                      Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                   config\r\n\r\n  --qnaId=qnaId                    Exact qnaId to fetch from the knowledgebase, this field takes priority over question\r\n\r\n  --question=question              (required) Query to get a prediction for\r\n\r\n  --scorethreshold=scorethreshold  Specifies the confidence score threshold for the returned answer.\r\n\r\n  --strictfilters=strictfilters    Path to json file with MetadataDTO[] e.g {\"strictfilters\": MetadataDTO[]}\r\n\r\n  --test                           Query against the test index\r\n\r\n  --top=top                        Specifies the number of matching results\r\n```\r\n\r\n_See code: [src/commands/qnamaker/query.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/query.ts)_\r\n\r\n## `bf qnamaker:train`\r\n\r\nTrain call to add suggestions to the knowledgebase.\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:train\r\n\r\nOPTIONS\r\n  -h, --help                         qnamaker:get:kb command help\r\n\r\n  --endpointKey=endpointKey          Specifies the endpoint key for your private QnA service.(from qnamaker.ai portal\r\n                                     user settings page). Overrides the value present in config.\r\n\r\n  --hostname=hostname                Specifies the url for your private QnA service. Overrides the value present in\r\n                                     config.\r\n\r\n  --in=in                            File path to the FeedbackRecordDTO object to send in the body of the request.\r\n\r\n  --kbId=kbId                        Specifies the active qnamaker knowledgebase id. Overrides the value present in the\r\n                                     config\r\n\r\n  --subscriptionKey=subscriptionKey  Specifies the qnamaker Ocp-Apim-Subscription Key (found in Keys under Resource\r\n                                     Management section for your Qna Maker cognitive service). Overrides the\r\n                                     subscriptionkey value present in config\r\n```\r\n\r\n_See code: [src/commands/qnamaker/train.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/train.ts)_\r\n\r\n## `bf qnamaker:translate`\r\n\r\nTranslate given QnA maker application JSON model or qna file(s)\r\n\r\n```\r\nUSAGE\r\n  $ bf qnamaker:translate\r\n\r\nOPTIONS\r\n  -f, --force                                If --out flag is provided with the path to an existing file, overwrites\r\n                                             that file\r\n\r\n  -h, --help                                 qnamaker:translate help\r\n\r\n  -i, --in=in                                Source .qna file(s) or QnA maker application JSON model\r\n\r\n  -o, --out=out                              Output folder name. If not specified stdout will be used as output\r\n\r\n  -r, --recurse                              Indicates if sub-folders need to be considered to find .qna file(s)\r\n\r\n  --srclang=srclang                          Source lang code. Auto detect if missing.\r\n\r\n  --subscription_region=subscription_region  Required request header if using a Cognitive Services Resource. Optional if\r\n                                             using a Translator Resource.\r\n\r\n  --tgtlang=tgtlang                          (required) Comma separated list of target languages.\r\n\r\n  --translate_comments                       When set, machine translate comments found in .qna file\r\n\r\n  --translate_link_text                      When set, machine translate link description in .qna file\r\n\r\n  --translatekey=translatekey                (required) Machine translation endpoint key.\r\n```\r\n\r\n_See code: [src/commands/qnamaker/translate.ts](https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker/src/commands/qnamaker/translate.ts)_\r\n<!-- commandsstop -->\r\n\r\n[1]:https://aka.ms/qna-file-format\r\n[2]:./docs/working-with-qna.md\r\n[3]:./docs/translate-command.md\r\n[4]:./docs/using-qnamaker-build.md\r\n[5]:./docs/chit-chat-dataset.md\n","engines":{"node":">=8.0.0"},"scripts":{"doc":"npm run build && npm run doc:readme && rimraf oclif.manifest.json","test":"mocha","build":"tsc -b","clean":"rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo","prepack":"npm run clean && npm run build && npm run doc:readme","version":"npm run doc:readme && git add README.md","coverage":"nyc npm run test","postpack":"rimraf oclif.manifest.json","posttest":"","doc:readme":"oclif-dev manifest && oclif-dev readme"},"_npmUser":{"name":"botframework","email":"botframework@microsoft.com"},"_resolved":"D:\\a\\r1\\a\\_botframework-cli-daily\\drop\\microsoft-bf-qnamaker-4.16.0-dev.20231122.4561d55.tgz","_integrity":"sha512-+3qQDftcK3H19TRBsAvhTSHFtNRHXUstrVSO0fWZyICjTQ6KXURBncf3XXr6WJG79Z+RM/Tf0VKdUqp9eKWa4w==","repository":{"url":"git+https://github.com/microsoft/botframework-cli.git#master","type":"git"},"_npmVersion":"9.8.1","description":"@microsoft/bf-qnamaker\r ======================","directories":{},"_nodeVersion":"18.18.2","dependencies":{"md5":"^2.2.1","axios":"~0.24.0","chalk":"2.4.1","delay":"^5.0.0","tslib":"^2.0.3","cli-ux":"^5.6.2","rimraf":"^2.6.3","semver":"^5.5.1","fs-extra":"^5.0.0","readline":"^1.3.0","username":"^4.1.0","camelcase":"^4.1.0","get-stdin":"^6.0.0","cli-table3":"^0.5.1","node-fetch":"^2.1.2","pascal-case":"^2.0.1","window-size":"^1.1.0","@oclif/config":"~1.13.3","@oclif/errors":"~1.2.2","@oclif/parser":"~3.8.4","readline-sync":"^1.4.9","@oclif/command":"~1.5.19","@microsoft/bf-lu":"4.16.0-dev.20231122.4561d55","intercept-stdout":"^0.1.2","https-proxy-agent":"^2.2.1","@microsoft/bf-cli-command":"4.16.0-dev.20231122.4561d55"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","nock":"^11.7.0","mocha":"^6.2.2","globby":"^10.0.1","rimraf":"^2.6.3","tslint":"^5.18.0","ts-node":"^9.0.0","fetch-mock":"^7.3.9","typescript":"^4.0.3","@oclif/test":"^1.2.4","@types/chai":"^4.1.7","@types/nock":"^11.1.0","@types/node":"^10.14.13","@types/mocha":"^5.2.7","@oclif/tslint":"^3.1.1","@oclif/dev-cli":"^1.22.0","@oclif/plugin-help":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/bf-qnamaker_4.16.0-dev.20231122.4561d55_1700671069535_0.9278671359462298","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-08-15T00:02:12.270Z","modified":"2026-07-16T15:44:22.040Z","0.0.0":"2019-08-15T00:02:12.393Z","4.5.3":"2019-08-16T16:06:23.401Z","4.5.4":"2019-08-16T19:57:12.096Z","4.6.0":"2019-10-30T16:52:12.566Z","4.7.0":"2019-12-18T00:51:08.132Z","4.8.0":"2020-03-17T22:40:55.272Z","4.9.0":"2020-05-12T18:39:03.159Z","4.9.1":"2020-05-28T17:40:08.056Z","4.10.0-dev.20200714.6b8b8a9":"2020-07-14T22:08:02.545Z","4.10.0-dev.20200715.547c305":"2020-07-15T07:19:14.853Z","4.10.0-dev.20200716.d3cbcf0":"2020-07-16T07:19:38.554Z","4.10.0-dev.20200717.fbe453f":"2020-07-17T07:21:39.268Z","4.10.0-dev.20200718.6bd5cf5":"2020-07-18T07:19:36.011Z","4.10.0-dev.20200719.7816875":"2020-07-19T07:19:13.932Z","4.10.0-dev.20200720.88a2a42":"2020-07-20T07:21:00.921Z","4.10.0-dev.20200721.88a2a42":"2020-07-21T09:22:31.866Z","4.10.0-dev.20200723.4c45f4a":"2020-07-23T09:22:29.535Z","4.10.0-dev.20200727.f10d79c":"2020-07-27T09:24:16.434Z","4.10.0-dev.20200728.930f45e":"2020-07-28T09:20:11.019Z","4.10.0-dev.20200729.4ac1279":"2020-07-29T07:21:30.498Z","4.10.0-dev.20200730.3786d10":"2020-07-30T07:20:24.467Z","4.10.0-dev.20200731.4aa848c":"2020-07-31T07:19:08.818Z","4.10.0-dev.20200804.10e144c":"2020-08-04T07:19:37.982Z","4.10.0-dev.20200806.789391b":"2020-08-06T07:26:07.461Z","4.10.0-dev.20200807.8f27460":"2020-08-07T07:19:30.746Z","4.10.0-dev.20200808.5a7c973":"2020-08-08T07:19:06.316Z","4.10.0-rc.20200811.e3d7c37":"2020-08-11T23:11:34.624Z","4.11.0-dev.20200812.fedc732":"2020-08-12T07:17:55.894Z","4.11.0-dev.20200812.46ecaa3":"2020-08-12T22:06:09.055Z","4.11.0-dev.20200813.46ecaa3":"2020-08-13T07:19:31.024Z","4.10.0":"2020-08-14T21:51:15.537Z","4.11.0-dev.20200818.9437cc1":"2020-08-18T07:17:41.517Z","4.11.0-dev.20200818.1c4ddb8":"2020-08-18T20:04:07.721Z","4.11.0-dev.20200819.1c4ddb8":"2020-08-19T07:17:04.456Z","4.10.1":"2020-08-19T18:16:05.242Z","4.11.0-dev.20200821.de66343":"2020-08-21T17:29:43.029Z","4.11.0-dev.20200824.de66343":"2020-08-24T00:18:20.476Z","4.11.0-dev.20200826.65eff66":"2020-08-26T07:19:46.982Z","4.11.0-dev.20200827.d5b17d9":"2020-08-27T07:17:12.464Z","4.11.0-dev.20200831.d7b6149":"2020-08-31T07:17:18.528Z","4.11.0-dev.20200904.ed789e7":"2020-09-04T07:17:12.024Z","4.11.0-dev.20200907.c063415":"2020-09-07T07:17:23.245Z","4.11.0-dev.20200911.7d6ad59":"2020-09-11T07:18:33.090Z","4.11.0-dev.20200911.c8afdcc":"2020-09-11T19:41:39.206Z","4.11.0-dev.20200914.c8afdcc":"2020-09-14T15:54:57.158Z","4.11.0-dev.20200916.4f7c793":"2020-09-16T07:17:58.737Z","4.11.0-dev.20200917.ec30167":"2020-09-17T03:49:03.034Z","4.11.0-dev.20200917.737fe95":"2020-09-17T07:17:29.501Z","4.11.0-dev.20200922.6a0f42c":"2020-09-22T07:17:11.455Z","4.11.0-dev.20200924.df24cb2":"2020-09-24T07:22:02.859Z","4.11.0-dev.20200930.028a4ec":"2020-09-30T07:17:24.056Z","4.11.0-dev.20201002.780bf2c":"2020-10-02T07:18:19.237Z","4.11.0-dev.20201005.7e5e1b8":"2020-10-05T07:19:06.048Z","4.11.0-dev.20201008.18fba61":"2020-10-08T07:17:06.031Z","4.11.0-dev.20201013.7ccb128":"2020-10-13T07:23:39.717Z","4.11.0-dev.20201014.d8a6b54":"2020-10-14T07:18:46.542Z","4.11.0-dev.20201015.a41c691":"2020-10-15T07:24:42.987Z","4.11.0-dev.20201016.24ec3b9":"2020-10-16T07:25:46.208Z","4.11.0-dev.20201019.091464d":"2020-10-19T07:16:59.969Z","4.11.0-dev.20201021.d59abb5":"2020-10-21T07:17:53.696Z","4.11.0-dev.20201022.a4b06fc":"2020-10-22T07:17:30.702Z","4.11.0-dev.20201023.4d90f4e":"2020-10-23T07:17:46.815Z","4.11.0-dev.20201025.69cf2b9":"2020-10-25T17:17:11.743Z","4.11.0-rc.20201026.e06ad47":"2020-10-26T23:00:46.612Z","4.11.0-dev.20201027.e06ad47":"2020-10-27T07:18:30.591Z","4.12.0-dev.20201028.999bc32":"2020-10-28T07:18:07.017Z","4.11.0-rc.20201028.6f4722f":"2020-10-28T20:07:52.023Z","4.12.0-dev.20201029.76cad5c":"2020-10-29T07:17:42.549Z","4.12.0-dev.20201030.307bcd7":"2020-10-30T07:17:36.128Z","4.11.0-rc.20201030.a9f9b96":"2020-10-30T20:33:48.117Z","4.12.0-dev.20201105.f7da1b8":"2020-11-05T08:19:55.056Z","4.12.0-dev.20201106.c64ea80":"2020-11-06T08:16:03.831Z","4.11.0":"2020-11-06T22:48:25.943Z","4.12.0-dev.20201112.f9270c9":"2020-11-12T08:16:14.720Z","4.12.0-dev.20201118.1cb4bee":"2020-11-18T08:17:13.688Z","4.12.0-dev.20201125.454bc64":"2020-11-25T02:09:24.712Z","4.11.1":"2020-11-25T03:46:49.761Z","4.12.0-dev.20201125.77567ef":"2020-11-25T08:17:35.898Z","4.12.0-dev.20201126.853f44c":"2020-11-26T08:17:34.748Z","4.12.0-dev.20201201.1253a5b":"2020-12-01T08:16:36.943Z","4.12.0-dev.20201203.954f006":"2020-12-03T08:16:56.951Z","4.12.0-dev.20201208.3315f42":"2020-12-08T08:17:13.079Z","4.12.0-dev.20201209.a2ab9dd":"2020-12-09T08:17:10.731Z","4.12.0-dev.20201211.e06f70f":"2020-12-11T08:16:47.536Z","4.12.0-dev.20210115.2b00408":"2021-01-15T08:16:48.725Z","4.12.0-dev.20210118.d2c102f":"2021-01-18T08:17:41.917Z","4.12.0-dev.20210121.7decc06":"2021-01-21T08:17:05.258Z","4.12.0-dev.20210126.0184ff0":"2021-01-26T08:15:49.034Z","4.12.0-dev.20210127.fc25e77":"2021-01-27T08:17:27.523Z","4.12.0-dev.20210127.3725565":"2021-01-27T19:48:24.028Z","4.12.0-dev.20210128.3725565":"2021-01-28T08:17:22.393Z","4.12.0-dev.20210129.82760de":"2021-01-29T08:16:46.556Z","4.12.0-dev.20210202.c622c6f":"2021-02-02T08:17:05.733Z","4.12.0-dev.20210205.fe56306":"2021-02-05T08:16:57.044Z","4.12.0-dev.20210208.b300d92":"2021-02-08T08:18:00.046Z","4.12.0-dev.20210209.dbba6c6":"2021-02-09T08:17:09.170Z","4.12.0-dev.20210211.d80ed6a":"2021-02-11T08:16:28.580Z","4.12.0-dev.20210212.50bae19":"2021-02-12T08:17:08.709Z","4.12.0-dev.20210215.64a2839":"2021-02-15T08:17:50.590Z","4.12.0-rc0":"2021-02-18T00:01:49.169Z","4.13.0-dev.20210218.d9e7d3a":"2021-02-18T08:16:12.808Z","4.12.0-rc1":"2021-02-20T01:22:58.996Z","4.13.0-dev.20210222.5f35a0e":"2021-02-22T08:17:50.423Z","4.13.0-dev.20210225.ab2ff4c":"2021-02-25T08:17:43.165Z","4.13.0-dev.20210302.8d7ee7f":"2021-03-02T08:16:48.296Z","4.13.0-dev.20210303.7004e0b":"2021-03-03T08:16:34.663Z","4.12.0":"2021-03-05T00:17:28.052Z","4.13.0-dev.20210309.33c7b6e":"2021-03-09T08:17:21.917Z","4.13.0-dev.20210311.ea3dc6f":"2021-03-11T08:17:06.068Z","4.13.0-dev.20210317.7efaf27":"2021-03-17T07:21:18.044Z","4.13.0-dev.20210318.2aac9b5":"2021-03-18T07:16:48.630Z","4.13.0-dev.20210322.de71c51":"2021-03-22T07:17:55.253Z","4.13.0-dev.20210323.8f22a9d":"2021-03-23T07:17:52.418Z","4.13.0-dev.20210324.2241623":"2021-03-24T07:17:36.350Z","4.13.0-dev.20210329.edada32":"2021-03-29T07:19:01.236Z","4.13.0-dev.20210330.dc0594f":"2021-03-30T07:17:24.129Z","4.13.0-dev.20210401.8dc6ffe":"2021-04-01T07:17:56.312Z","4.13.0-rc0":"2021-04-02T00:50:59.127Z","4.14.0-dev.20210402.7e5fa93":"2021-04-02T07:21:53.632Z","4.14.0-dev.20210406.74baacc":"2021-04-06T07:20:26.642Z","4.14.0-dev.20210407.6745788":"2021-04-07T23:47:33.892Z","4.14.0-dev.20210408.393d33d":"2021-04-08T07:20:31.224Z","4.14.0-dev.20210408.1a5070e":"2021-04-08T17:01:15.043Z","4.14.0-dev.20210409.1a5070e":"2021-04-09T07:20:58.711Z","4.13.0-rc1":"2021-04-09T17:30:55.870Z","4.14.0-dev.20210415.161c029":"2021-04-15T07:20:42.948Z","4.14.0-dev.20210415.7e35288":"2021-04-15T19:15:24.682Z","4.14.0-dev.20210415.ab0fc09":"2021-04-15T20:23:45.448Z","4.13.0-rc2":"2021-04-15T22:50:51.665Z","4.14.0-dev.20210416.ab0fc09":"2021-04-16T07:20:42.110Z","4.14.0-dev.20210419.7257bc2":"2021-04-19T18:35:02.962Z","4.13.0":"2021-04-19T22:19:22.070Z","4.14.0-dev.20210420.fc92e9b":"2021-04-20T07:20:47.027Z","4.14.0-dev.20210422.eccdf02":"2021-04-22T07:22:10.086Z","4.13.1":"2021-04-26T21:41:13.123Z","4.14.0-dev.20210427.c0be653":"2021-04-27T07:21:59.866Z","4.13.2":"2021-04-28T22:42:34.334Z","4.14.0-dev.20210429.968ef75":"2021-04-29T15:55:29.854Z","4.13.3":"2021-04-29T20:53:38.407Z","4.14.0-dev.20210430.968ef75":"2021-04-30T07:19:47.729Z","4.14.0-dev.20210511.07bbd05":"2021-05-11T07:22:57.786Z","4.14.0-dev.20210517.4cdd4d9":"2021-05-17T07:23:56.881Z","4.14.0-dev.20210519.92dfb46":"2021-05-19T07:21:29.758Z","4.14.0-dev.20210521.64e1d40":"2021-05-21T07:22:59.254Z","4.14.0-dev.20210602.be805a8":"2021-06-02T07:26:04.643Z","4.14.0-dev.20210604.3f9ee15":"2021-06-04T07:23:54.786Z","4.14.0-dev.20210623.37f59ec":"2021-06-23T07:31:34.019Z","4.14.0-dev.20210624.eac7a60":"2021-06-24T07:22:45.440Z","4.14.0-dev.20210625.132e0cd":"2021-06-25T07:21:54.191Z","4.14.0-dev.20210629.e97e6b0":"2021-06-29T07:22:28.877Z","4.14.0-rc0":"2021-06-29T18:06:35.310Z","4.14.0-dev.20210630.8078cc6":"2021-06-30T07:21:55.859Z","4.15.0-dev.20210701.be9cd6c":"2021-07-01T07:20:04.764Z","4.15.0-dev.20210702.cbf708d":"2021-07-02T07:21:54.840Z","4.15.0-dev.20210707.cf471cf":"2021-07-07T07:20:41.228Z","4.14.0":"2021-07-07T19:27:28.125Z","4.15.0-dev.20210708.f16ca8f":"2021-07-08T07:19:53.566Z","4.14.1":"2021-07-08T18:41:05.886Z","4.15.0-dev.20210712.eb38bc0":"2021-07-12T07:19:47.390Z","4.15.0-dev.20210715.ead1751":"2021-07-15T07:19:51.250Z","4.15.0-dev.20210723.bf1f054":"2021-07-23T07:24:12.531Z","4.15.0-dev.20210803.40549ca":"2021-08-03T07:22:18.659Z","4.15.0-dev.20210805.6321dcc":"2021-08-05T07:20:46.895Z","4.15.0-dev.20210914.7a936c1":"2021-09-14T07:21:29.859Z","4.15.0-dev.20210917.b688652":"2021-09-17T07:24:10.454Z","4.15.0-dev.20210920.e4d38fc":"2021-09-20T07:24:23.200Z","4.15.0-dev.20210921.fcb2cdb":"2021-09-21T07:23:17.264Z","4.15.0-dev.20210922.c1c0528":"2021-09-22T07:22:28.375Z","4.15.0-dev.20210924.20a3f98":"2021-09-24T07:19:34.078Z","4.15.0-dev.20210928.a9a92a5":"2021-09-28T07:23:00.746Z","4.15.0-dev.20211004.edcf63e":"2021-10-04T07:25:27.130Z","4.15.0-rc0":"2021-10-15T22:52:35.091Z","4.16.0-dev.20211020.406dfef":"2021-10-20T07:24:01.860Z","4.16.0-dev.20211101.bed3c05":"2021-11-01T17:35:48.859Z","4.16.0-dev.20211102.bed3c05":"2021-11-02T07:24:58.334Z","4.16.0-dev.20211102.3f7a67a":"2021-11-02T17:48:32.207Z","4.15.0-rc1":"2021-11-02T23:17:41.444Z","4.16.0-dev.20211103.3f7a67a":"2021-11-03T07:20:32.852Z","4.16.0-dev.20211105.90655c4":"2021-11-05T07:25:08.315Z","4.15.0-rc2":"2021-11-05T18:21:42.277Z","4.15.0-rc3":"2021-11-10T23:40:39.807Z","4.16.0-dev.20211111.15b5c37":"2021-11-11T08:22:40.848Z","4.15.0":"2021-11-16T17:11:59.054Z","4.16.0-dev.20211117.19ff452":"2021-11-17T08:24:01.396Z","4.16.0-dev.20211220.6972973":"2021-12-20T08:24:30.401Z","4.16.0-dev.20220104.33b5e0a":"2022-01-04T08:24:14.169Z","4.16.0-dev.20220105.380511c":"2022-01-05T21:10:47.645Z","4.16.0-dev.20220105.c44b989":"2022-01-06T00:02:28.284Z","4.16.0-dev.20220106.c44b989":"2022-01-06T08:21:41.365Z","4.16.0-dev.20220110.b4d497d":"2022-01-10T08:22:56.387Z","4.16.0-dev.20220120.e933dfc":"2022-01-20T08:25:16.130Z","4.16.0-dev.20220228.5bb413a":"2022-02-28T08:21:22.881Z","4.16.0-dev.20220525.147c370":"2022-05-25T07:23:11.964Z","4.16.0-dev.20220526.695cee5":"2022-05-26T07:20:56.014Z","4.16.0-dev.20220725.a0ab7ca":"2022-07-25T07:22:51.404Z","4.16.0-dev.20221107.64f07e4":"2022-11-07T08:23:51.598Z","4.16.0-dev.20221111.64f07e4":"2022-11-11T23:12:31.526Z","4.16.0-dev.20221114.64f07e4":"2022-11-14T08:24:05.913Z","4.16.0-dev.20231122.4561d55":"2023-11-22T16:37:49.765Z"},"bugs":{"url":"https://github.com/microsoft/botframework-cli/issues"},"author":{"name":"Microsoft"},"license":"MIT","homepage":"https://github.com/microsoft/botframework-cli","keywords":["oclif-plugin"],"repository":{"url":"https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker","type":"git"},"description":"@microsoft/bf-qnamaker\r ======================","maintainers":[{"email":"botframework@microsoft.com","name":"botframework"},{"email":"sgellock@microsoft.com","name":"sgellock"},{"email":"christopherwhitten@gmail.com","name":"cwhitten"},{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"},{"email":"peinnes@microsoft.com","name":"peterinnesmsft"},{"email":"cmullins@gmail.com","name":"cmullins"}],"readme":"","readmeFilename":""}